Beginners - May 2011 (Page 36)

Multiple .cpp files
 
Hello all. I am making a program and I have a few headers and then matching .cpp files to define the member functions in the header files. How can I include the...
[8 replies] Last: tonyh703 : thanks for the novel firix. how do I call a function fr... (by firix)
by ammama
header file
 
what does header file windows.h do?
[5 replies] Last: http://cplusplus.com/forum/articles/10627/ (by firix)
New line problems.
 
I'm very new to c++ and I've been having problems with a program I was attempting to create as practice #include <iostream> using namespace std; int ma...
[3 replies] Last: Thanks so much! I completely forgot. (by HeyThere)
Two Dimensional Array Resulting to Garbage value..
 
Here is the problem: "create a program that reads student test scores in the range 0 to 100. The Program will ast the user the size of rows and columns and prin...
[1 reply] : use tags when posting code. In your first loop "cin>>x" reads to ... (by hamsterman)
by ammama
win32 application
 
i am working on a search engine that searches mp3 files stored in computer's hard drive. someone suggested me to work on win32 application in C++ but i dont kno...
[2 replies] Last: thank you. P.S i am currently using microsoft visual C++ 6.0 version (by ammama)
Control Structures not working
 
Im building a quadratic formula solver. I havent yet put in the actual formla to get the solutions, but ive done the discriminant. Everything works in the build...
[2 replies] Last: Thanks so much! (by lilwillywonka)
dynamic memory math....
 
Hello guys was watching the tut for dynamic memory... (ill try to jump boring stuff) and failed to do something... So lets get to the point, What i want to ...
[1 reply] : Why don't you use a variable to store the sum of all numbers inputted ... (by Zeillinger)
inheritance problem : undefined reference
 
Hi, I have a problem with inheritance. It's the first time i use inheritance but i thought i understood it... I get the following error when i try to compile...
[1 reply] : Ok i now found out, that my main function simply doesn't know the func... (by Newton88)
by joul
Creating window
 
I need help va rifing my task, Purpose of work: Acquaintance with structure Windows - applications, organisation of interaction of the programs with operat...
[no replies]
by ammama
wildcard file in C++
 
i want to know what is wild card file in c++
[2 replies] Last: You'll have to make your own, or find a library that someone else has ... (by Moschops)
istream
 
I'm hoping I'm just missing something simple... I am making a polynomial linked list and am having trouble with my istream. When the following two lines are i...
[3 replies] Last: Thanks! What do you mean by after cin? The line after? (by lewisjb3)
Splitting arrays
 
Hey I'm trying to write a function on splitting an array. So far it doesn't seem to work and doesn't output the arrays properly. Note that I'm a complete beginn...
[10 replies] Last: Alright, it's clear to me now. Thank you for your time, I appreciate i... (by BananaCode)
Reading arrays from file
 
Hi everyone, im new at programming and im sort of stuck at this bit and it keeps coming up with errors, while it does compile, its not displaying what i want. ...
[2 replies] Last: thanks Zhuge for the reply. Instead of using rewind() i opted to c... (by Hello There)
is safe put this symbol "§"?? ex: strcat(s,"§");
 
is safe put this symbol in a string char?? "§" to use it in comparision, concatenation or searching?? thanks ^^
[2 replies] Last: ok, you scare me. ill avoid all those weird characters. >.< im using ... (by Bot0016)
Just a quick simple question
 
I have this piece of code copied from my hardcopy book. It's a problem, where you have to find out the output. #include<stdio.h> int main() ...
[4 replies] Last: Thanks. I understand the situation. I appreciate your help firedraco &... (by LegendXeon)
Arrays HELP!!!
 
How do you write a function that removes duplicates from an array.
[14 replies] Last: // // //Function that removes duplicates from an array // // #include ... (by amadsen007)
Need help with first program!
 
Hello, first post, hope im doing it at the right place! Super new at c++. I just made a program all by myself (Still in the works) and wanted to see if ...
[18 replies] Last: Haha, thanks! I bet you can't guess who else here started programing f... (by ModShop)
by Ace70
Using the sin function in a program?
 
I've been trying to figure out how to get this program to run. It seems simple enough, I just have to take a specified ladder height of 20 feet and multiply it ...
[8 replies] Last: That seems like a huge oversight on my part. Thanks for the help Ascii... (by Ace70)
by xcure
Inheritance
 
Hello folks. Well we got this homework assignment and im really just lost. I dont expect nor want anyone to do my homework but can someone just guide me. Its a ...
[2 replies] Last: could you please share the personType class first? otherwise this see... (by ascii)
Invalid array assignment
 
C++ noobie here, just looking for some help. I have a class and a function(grossly simplified from what I have, but has all the basics): class names{ public...
[2 replies] Last: That's right. You'll have to do a element-wise copy, either with a for... (by Zhuge)
May 2011 Pages: 1... 3435363738... 48
  Archived months: [apr2011] [jun2011]

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