Beginners - October 2008 (Page 2)

What does API refer to?
 
Question is as above
[2 replies] Last: Read this for more informations: http://en.wikipedia.org/wiki/API (by Bazzy)
by Djanvk
How to search a binary save file?
 
Ok I think I understand how to save information to a binary file but how do you recall a certain rec...
[2 replies] Last: a simple example (using C but the principle is the same) typed... (by anders43)
by g0dwyn
what does a static function do?
 
Hey everyone, So I've seen examples in source code, etc, where a function's return type is declar...
[4 replies] Last: A static function inside a class is a function that can be called with... (by jsmith)
by wy737
New student
 
Hi, Dear. void foo(int x, bool flag /* = true */) { ... } what mean is this "flag /* = true */"...
[4 replies] Last: Great, Thanks All ! (by wy737)
by Flinch
Need assistance with beginner collision code
 
I have taken quite a few hours to investigate this myself. I am very new to C++ and have only found ...
[9 replies] Last: No worries. Have left myself a message to post it tonight when I get h... (by Zaita)
Reading into 3 arrays
 
Hey guys. I'm trying to write a function that opens a file called "scores.txt" that has the format ...
[4 replies] Last: Hah, ok. I was getting some basic stuff confused there. Thanks a l... (by acevans2)
how to compare input with array element
 
hey guys; i have program that i should get string input from the user check if it is in the array i...
[4 replies] Last: @firdraco Yes, sorry, you're right. A stuppid beginnersmistake from m... (by Scipio)
c++
 
hi.. i just wanna ask one question. my question is what term we will used if we used a functions in ...
[2 replies] Last: umm....i think thats called a function call (by ja23jr)
For/while loops
 
I need to write program that asks a user for two numbers and then computes and outputs the sum of al...
[5 replies] Last: @ Bazzy I don't disagree with you, but many, many, MANY students will... (by jpeg)
Confusion with a deceleration equation?
 
Hi I was wondering if there are any other equations for deceleration/acceleration other than (v1...
[4 replies] Last: It's cool, we've all been there. Post if you have any more problems. ... (by jpeg)
by DNRN
How to print a map sorted by value
 
Hi I'm working with the book C++ Accelerated, and working with maps. I have defined a map<string, in...
[6 replies] Last: I really don't know... I sorted some vector strings earlier, I might s... (by DNRN)
alternative to cin
 
Most of my assignments thus far have involved accepting some input from the keyboard with cin. The ...
[1 reply] : In conio.h you should find getch() . By using it you could get eac... (by Bazzy)
by bagri
C language
 
hello dear, I love C and C++ language, and I want to learn it but I don't know how to write a progra...
[2 replies] Last: Also, you can read the tutorial on this site for steps to get you star... (by firedraco)
typedef void *pointer
 
I am not clear about this type? When we use this type, do we need to allocate memory for it? T...
[2 replies] Last: void* points to any type of data; in order to use it, you must cast it... (by Zhuge)
by Ruddo
Problem with rand()
 
HI all, I'm having a problem with rand() , in that every time I use it, it returns the same valu...
[14 replies] Last: rand() implements a linear congruential random number generator which ... (by jsmith)
a problem for printing my array
 
hi every body, i need some help please i don't know why i cannot print my elements in my arrays. i...
[1 reply] : sorry to distrub you guys i find the probleme it was my compare in thw... (by tukuniata)
If, Else, And Cin
 
Hi, I am having a problem understanding simple if, else, and cin commands. What I want to do is mak...
[1 reply] : if conditions should be (x==1) and (x==2) , not (y) and (z) ... (by Bazzy)
by faizlo
C++ code with conio.h
 
Hi, I am new here and new to C++. I am using a book to learn C++. I had this code from the book w...
[2 replies] Last: Just remove line 5 and replace line 26 with cin.get(); (by Poke386)
BST question
 
I am trying to print the elements of the tree but am not getting anything to print Driver program...
[5 replies] Last: OK i changed it to this: #include "BST.h" #include "header_file.h" ... (by bluegray)
someone can see this and someone can't see the magic on STL vector
 
hi all, first of all I am very new to the C++ programming and the STL programming. But I did this e...
[2 replies] Last: Why don't you just declare the vector as vector<vector_element>... (by anders43)
October 2008 Pages: 1234... 20
  Archived months: [sep2008] [nov2008]

This is an archived page. To post a new message, go to the current page.