Inquiry.

Question about programming that arent really programming

Page 1 of 1

14 Replies - 2367 Views - Last Post: 13 March 2008 - 12:56 AM

#1 red_4900   User is offline

  • Code T(h)inkers
  • member icon

Reputation: 21
  • View blog
  • Posts: 1,120
  • Joined: 22-February 08

Inquiry.

Posted 05 March 2008 - 03:57 AM

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 -_-

Now can anyone help me? even if u wont answer my 2nd and 3rd question, pls tell me where should I post those question.

Is This A Good Question/Topic? 0
  • +

Replies To: Inquiry.

#2 1lacca   User is offline

  • code.rascal
  • member icon

Reputation: 44
  • View blog
  • Posts: 3,822
  • Joined: 11-August 05

Re: Inquiry.

Posted 05 March 2008 - 04:01 AM

Moved to comp sci.
Was This Post Helpful? 0
  • +
  • -

#3 no2pencil   User is offline

  • Professor Snuggly Pants
  • member icon

Reputation: 6968
  • View blog
  • Posts: 31,958
  • Joined: 10-May 07

Re: Inquiry.

Posted 05 March 2008 - 04:04 AM

View Postred_4900, on 5 Mar, 2008 - 03:57 AM, said:

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 -_-
question.

Argument : "Options supplied to a program" also refered to as parameter. example
rm -rf



-rf is the argument.
Was This Post Helpful? 0
  • +
  • -

#4 red_4900   User is offline

  • Code T(h)inkers
  • member icon

Reputation: 21
  • View blog
  • Posts: 1,120
  • Joined: 22-February 08

Re: Inquiry.

Posted 05 March 2008 - 04:09 AM

And parameter is? could u show me example in C? coz I have yet to learn any language other than C
Was This Post Helpful? 0
  • +
  • -

#5 KYA   User is offline

  • Wubba lubba dub dub!
  • member icon

Reputation: 3213
  • View blog
  • Posts: 19,241
  • Joined: 14-September 07

Re: Inquiry.

Posted 05 March 2008 - 04:57 AM

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
}

Was This Post Helpful? 0
  • +
  • -

#6 red_4900   User is offline

  • Code T(h)inkers
  • member icon

Reputation: 21
  • View blog
  • Posts: 1,120
  • Joined: 22-February 08

Re: Inquiry.

Posted 05 March 2008 - 05:22 AM

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?
Was This Post Helpful? 0
  • +
  • -

#7 Amadeus   User is offline

  • g+ + -o drink whiskey.cpp
  • member icon

Reputation: 253
  • View blog
  • Posts: 13,507
  • Joined: 12-July 02

Re: Inquiry.

Posted 05 March 2008 - 06:28 AM

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().
Was This Post Helpful? 0
  • +
  • -

#8 red_4900   User is offline

  • Code T(h)inkers
  • member icon

Reputation: 21
  • View blog
  • Posts: 1,120
  • Joined: 22-February 08

Re: Inquiry.

Posted 06 March 2008 - 06:38 AM

wat is 'nested loops'?
Was This Post Helpful? 0
  • +
  • -

#9 Amadeus   User is offline

  • g+ + -o drink whiskey.cpp
  • member icon

Reputation: 253
  • View blog
  • Posts: 13,507
  • Joined: 12-July 02

Re: Inquiry.

Posted 06 March 2008 - 11:32 AM

One or more loops contained within another.
Was This Post Helpful? 0
  • +
  • -

#10 red_4900   User is offline

  • Code T(h)inkers
  • member icon

Reputation: 21
  • View blog
  • Posts: 1,120
  • Joined: 22-February 08

Re: Inquiry.

Posted 07 March 2008 - 03:24 AM

wat is linked list?
Was This Post Helpful? 0
  • +
  • -

#11 1lacca   User is offline

  • code.rascal
  • member icon

Reputation: 44
  • View blog
  • Posts: 3,822
  • Joined: 11-August 05

Re: Inquiry.

Posted 07 March 2008 - 04:44 AM

<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
Was This Post Helpful? 0
  • +
  • -

#12 red_4900   User is offline

  • Code T(h)inkers
  • member icon

Reputation: 21
  • View blog
  • Posts: 1,120
  • Joined: 22-February 08

Re: Inquiry.

Posted 07 March 2008 - 07:01 AM

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.
Was This Post Helpful? 0
  • +
  • -

#13 1lacca   User is offline

  • code.rascal
  • member icon

Reputation: 44
  • View blog
  • Posts: 3,822
  • Joined: 11-August 05

Re: Inquiry.

Posted 07 March 2008 - 08:34 AM

Great.
Then let's say a linked list is a list, where you don't have pointers to all the elements, just to the first, and every element has a pointer to the one behind it. To access a random element, you have to walk the list through these pointers until you find the element you are looking for.
In a double linked list an element has a pointer both to the element in front of it and behind it.
Was This Post Helpful? 0
  • +
  • -

#14 KYA   User is offline

  • Wubba lubba dub dub!
  • member icon

Reputation: 3213
  • View blog
  • Posts: 19,241
  • Joined: 14-September 07

Re: Inquiry.

Posted 08 March 2008 - 04:42 AM

Aw, no excuse for my carelessness in my variable names, usually they would be the same...
Was This Post Helpful? 0
  • +
  • -

#15 nirvanarupali   User is offline

  • D.I.C Stomach
  • member icon

Reputation: 14
  • View blog
  • Posts: 1,120
  • Joined: 01-August 07

Re: Inquiry.

Posted 13 March 2008 - 12:56 AM

The best way to learn programming is to know English first. Thousands of programming books are written in English.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1