Beginners - February 2011 (Page 20)

Static Functions
 
Hi, I was reading some tutorial(Here: www.functionx.com/cpp/index.htm) and then the tutorial men...
[5 replies] Last: Thanks guys I get it now. (by hitmanben2)
by firix
iterator class for list and vector
 
Hi, I've written the source code vector and list. I would like to write the iterator class for t...
[no replies]
Loading text into memory
 
I need to make an array of pointers to a string where i allocate about 19 bytes. After the 19 is us...
[11 replies] Last: im trying to fix the problem but nothing is working. Do you have idea... (by moorecm)
by tonnot
Declare an array at .h and create at .cpp
 
I'm a little losted... I want to declare an array of objects at .h file (to say my class that a...
[5 replies] Last: Yes, you cannot dynamically allocate an array of objects and call any ... (by jsmith)
by tonnot
How to pass 'numbers' (int, float...) to a single variable into a function ?
 
I know overload methods but.... Is there some type to receive numbers and later know the real type ?...
[2 replies] Last: At that point you don't even need templates. Just make non-templated ... (by jsmith)
Need code for a subset problem
 
Hey guys! I need a program that can extract a number that determines how many elements the set has ...
[1 reply] : I need code that parses coredump files and outputs the values of all t... (by jsmith)
by Dannk
equation
 
Please someone help me write a c++ program for the equation, square root of a^2+b^2 =c. Thanks.
[1 reply] : Again? See this: http://www.cplusplus.com/forum/beginner/36468/ The... (by filipe)
Extracting information from a text file
 
Let's say I have an array of structs called animals, and for every struct in the array I need to get...
[9 replies] Last: the ; goes in your txt file like so: ;some header information here ... (by danaigo)
Issue with funtions
 
I am pretty new to programming. For one of my classes i have to write a program using functions. So ...
[2 replies] Last: Wow. I can't believe that. It was very late at night but wow. Thank yo... (by jokerfwb)
Linker
 
Hi, I'm new to C++ and I was wondering what the linker does. I'm currently using "Sams Teach Yoursel...
[8 replies] Last: Just about; the term "library" tends to commonly be applied to the hea... (by Moschops)
How to read all files and all subfolders (including their files)
 
My task is going to read all the .wav files and all text files without extension (like those in Linu...
[3 replies] Last: But I still don't know how to search files in those subfolders. Now... (by dynamiclc)
what is "cout<<cout<<"
 
I had an exam in C++ today There was a question to find output. There was a code like cout<<co...
[1 reply] : You did not get &x , you got &cout. (sort of) That's because ostream ... (by hamsterman)
convert minutes to hours and minutes?
 
Hey everyone, im back again with another question.I know this topic has been brought up before, and ...
[8 replies] Last: If you want something more to think about: Personally, I would make... (by sadavied)
by ctrlz
Not compiling, errors
 
These are the instructions for my project: 4. You will need to write a program that has three fun...
[10 replies] Last: What is the purpose of the code on lines 79, 86, and 95 in last posted... (by sadavied)
by rekson
How to output a polynomial in c++?
 
If I want "3x²" to be output in my program, and I have a variable holding the "3" as float coeff an...
[1 reply] : You can't have superscripts in console. You'll have to go with 3x^2. (by hamsterman)
by rekson
Beginner's question on Arrays
 
Can I write an array variable as "int a ", as in an array with no specified amount of elements to ho...
[1 reply] : Can I write an array variable as "int a ", as in an array with no spe... (by Disch)
Math not computing correctly
 
My problem is that my summation function is not working correctly. when I subtract the Integer va...
[6 replies] Last: Which of these is wrong? I don't get it, what -6.25? 39.0625 1.5625... (by rocketboy9000)
by lichul
Microcontroller
 
need help... how de i start learn c++ microcontroller programming? thank u...
[3 replies] Last: thank u so much for the answer... if i wanna buy a microcontroller fo... (by lichul)
Can anyone tell me how to improve this program?
 
Can anyone help me to improve this program? So please feel free to correct me or tell me what I'm do...
[2 replies] Last: Make it actually give me a snack and/ or a beverage. (by Danny Toledo)
21 dice game
 
ok so im doing a dice game where you try to reach 21 and if you go over 21 then your score gets redu...
[11 replies] Last: Remove lines 37 to 48 for now. line 25 and 32 are outputting the valu... (by Zaita)
February 2011 Pages: 1... 1819202122... 43
  Archived months: [jan2011] [mar2011]

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