Welcome to Dream.In.Code
Getting Help is Easy!

Join 86,243 Programmers. There are 2,241 online right now! Ask your question and get quick answers from Dream.In.Code experts. Join the #1 programming help community on the internet! Registration is fast and FREE... Join Now!

Chat LIVE With a Expert
Powered by LivePerson.com

Register to Make This Box Go Away!

Inquiry.

2 Pages V  1 2 >  
Reply to this topicStart new topic

Inquiry., Question about programming that arent really programming

red_4900
post 5 Mar, 2008 - 03:57 AM
Post #1


D.I.C Regular

***
Joined: 22 Feb, 2008
Posts: 277



Ok.I know this place is forbidden for any programming question (sry bout dat)..but for question that are related to programming, but doesnt belong to any language, I mean, general question, where should I post it?

What I wanna ask is,
1 - where can I find tutorial about debugging?(pls dont answer Google)
2 - wats da meaning of 'argument', 'class', etc? I take programming classes in japanese, so when I do research in the internet, I dont understand some of the words used. and my English is not that good either sleep.gif

Now can anyone help me? even if u wont answer my 2nd and 3rd question, pls tell me where should I post those question.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


1lacca
post 5 Mar, 2008 - 04:01 AM
Post #2


code.rascal

Group Icon
Joined: 11 Aug, 2005
Posts: 3,189

Moved to comp sci.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

no2pencil
post 5 Mar, 2008 - 04:04 AM
Post #3


DIC K-mart

Group Icon
Joined: 10 May, 2007
Posts: 3,321

QUOTE(red_4900 @ 5 Mar, 2008 - 03:57 AM) *

2 - wats da meaning of 'argument', 'class', etc? I take programming classes in japanese, so when I do research in the internet, I dont understand some of the words used. and my English is not that good either sleep.gif
question.

Argument : "Options supplied to a program" also refered to as parameter. example
CODE

rm -rf


-rf is the argument.

User is offlineProfile CardPM
Go to the top of the page
+Quote Post

red_4900
post 5 Mar, 2008 - 04:09 AM
Post #4


D.I.C Regular

***
Joined: 22 Feb, 2008
Posts: 277

And parameter is? could u show me example in C? coz I have yet to learn any language other than C
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

KYA
post 5 Mar, 2008 - 04:57 AM
Post #5


DIC DIC DIC DIC DIC DIC DIC DIC DIC DIC DIC DIC DIC DIC DIC DIC

Group Icon
Joined: 14 Sep, 2007
Posts: 1,318

CODE

myMethod(int someNumber);    //function prototype

int main() {

    // bla bla bla
    int response;
    cin >> response;
   myMethod(response); //pass response as a parameter to this method

}

int myMethod(int number){

   //performs some crap on the parameter and returns an int or whatever
}
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

red_4900
post 5 Mar, 2008 - 05:22 AM
Post #6


D.I.C Regular

***
Joined: 22 Feb, 2008
Posts: 277

so...in dat case, in function main, response is the parameter? likewise, in Mymethod function, 'some Number' is the parameter? did I get it right?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Amadeus
post 5 Mar, 2008 - 06:28 AM
Post #7


g++ -o drink whiskey.cpp

Group Icon
Joined: 12 Jul, 2002
Posts: 11,383

Yes, although they are the same thing. someNumber is the parameter supplied in the prototype (inexplicably then renamed number in the definition). response is input taken from the user, then supplied as a parameter to the function myMethod().
User is online!Profile CardPM
Go to the top of the page
+Quote Post

red_4900
post 6 Mar, 2008 - 06:38 AM
Post #8


D.I.C Regular

***
Joined: 22 Feb, 2008
Posts: 277

wat is 'nested loops'?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Amadeus
post 6 Mar, 2008 - 11:32 AM
Post #9


g++ -o drink whiskey.cpp

Group Icon
Joined: 12 Jul, 2002
Posts: 11,383

One or more loops contained within another.
User is online!Profile CardPM
Go to the top of the page
+Quote Post

red_4900
post 7 Mar, 2008 - 03:24 AM
Post #10


D.I.C Regular

***
Joined: 22 Feb, 2008
Posts: 277

wat is linked list?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

1lacca
post 7 Mar, 2008 - 04:44 AM
Post #11


code.rascal

Group Icon
Joined: 11 Aug, 2005
Posts: 3,189

<educative rant>
Let me introduce you a friend: google. If you write wiki as the first term of your search and then the thing you are looking for in this field, you can start using the I'm feeling lucky button.
</educative rant>
anyway: Linked list
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

red_4900
post 7 Mar, 2008 - 07:01 AM
Post #12


D.I.C Regular

***
Joined: 22 Feb, 2008
Posts: 277

I know. the problem being my english is not dat good yet, so I'm having trouble reading one-whole-page article. and I'm also new to programming, only 4 months experience learning C, tho I can read simple C++ program. thanx for giving the link, but I dont understand most of the scientific term wiki use, and I dont understand the C program written at the tail end of the article.

[rant]all my subjects in university is in japanese. imagine learning high-level syllabus with ur language-level still of primary school level. imagine reading university-level book with ur language-level still of primary school level[\rant]

sort of explaining y I have those problem, eh? not that I dont make the effort, but its very difficult due to my environment.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

2 Pages V  1 2 >
Fast ReplyReply to this topicStart new topic
Time is now: 5/16/08 08:26AM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month