Beginners - February 2011 (Page 40)

C++ Styling Tips
 
I just started messing around with C++ yesterday, and now I think I should get some input on how to style my code. So if you have any input, please feel free to...
[6 replies] Last: Thank you all for the input and advice, it is quite helpful! I'll have... (by jdgregson)
simple string info program
 
Hi, I am a new one in to CPP Programming I am trying to create a software which does the following Data of 3-4 students should be given/ declared in the c...
[4 replies] Last: and Finally, I was able to do it here is how it works #includ... (by sadia123)
auto image process system
 
i have found a source code which can process an image and take its grayscale. but I have to change the file name everytime. I want to improve it to a system...
[no replies]
stringstream runs into infinite loop
 
using namespace std; class token { public: bool status;//0 for str & 1 for num string str; double num; } ; typedef vector<token> stor...
[9 replies] Last: operator >> returns a reference to istream object which is convertible... (by hamsterman)
by Sam56
selecting a group of values in an array
 
Hey guys. I have a question about arrays. If I have an 8 character array, is it possible to split the array up and, say, assign the first few values of the...
[2 replies] Last: #include <iostream> #include <algorithm> using namespace std; ... (by closed account z05DSL3A)
by Crutoy
VC++ 2010
 
Hello, i've been using this IDE with out any issues for several weeks now, today somehow i'm no longer able to see objects members when i press dot, some how in...
[4 replies] Last: thanks (by Crutoy)
How to read a variable from other class that is private
 
Hi I'm new to c++ and programming. Here I have a function called copyString. void copyString(StrType& newString) { int count=0; while(newSt...
[1 reply] : I'm sorry I have found problem here. the code should be below vo... (by ivanlex)
by JayCee
Pointers
 
I have managed to get to grips with pointers and think I understand waht is going on here. The only thing I can't get my head round is why I would use a poin...
[7 replies] Last: ok Moschops I will remember that. (by acorn)
Falling parachuter
 
This is my first time using classes so I am having a bit of trouble. I don't know what these error messages I'm getting are trying to say. I have cleaned up a l...
[6 replies] Last: Finished my code successfully. Probably looks a lot different in the w... (by xCaldazar)
by ts1000
books or resources
 
im reading a book for cpp called sams teach yourself in 24 hours cpp, anyway does anyone know where i can find a resource for programming interactivly with my c...
[6 replies] Last: I guess there are two C++ primer, one by Stephen Prata and another by... (by closed account z05DSL3A)
by vls610
Closing a file.
 
My project is to open two files, read one fil into the othe other file, then close and reopen the file that was written to. I seem to be having problems closing...
[1 reply] : What's the problem exactly? Can you please describe it? (by vidya)
by Donny
Little bit of assistance for beginner.
 
Hi people. Fairly new to C++, using it currently in a degree at university, only been doing it since last September. Anyway having problems with the program...
[3 replies] Last: Thanks for the help, void main is the only thing i've been taught to u... (by Donny)
Elements of 2 Arrays will sum and be added to a 3rd one
 
Hello guys, I am very new at the C++ programming world, but I have been reading books, viewing youtube videos, and such. I am to create 2 arrays, give out thei...
[1 reply] : To declare an array of single element (is that an oxymoron?): int ar... (by matsom)
Vector inside structure pointer
 
Hi, everybody. struct activity{ int id; //Activity number}; vector<activity> activity(32); activity *p_id; //Declare a pointer vector<int> *p_activi...
[6 replies] Last: ok thank you very much ;) (by airerdem)
by zJho
How do I start this project
 
Hi this is my first C++ project and I have the basic idea what to do.. Click the bottom link (Programming Projects) Project 01 http://www.ee.ttu.edu...
[3 replies] Last: Thanks for the input guys, it's not due tomorrow anymore since a few c... (by zJho)
Display an order from a nested while loop
 
Hi all, Name's Liz, and this is my first post. I've been searching the forums and can't find a thread that answers my question, and I'm kind of stumped. Thi...
[1 reply] : Okay, so I fiddled around with it, and I've altered the part with the ... (by LizzleBizzle)
If and Else Statements
 
Hello. I'm new to this forum, and also C++, which I just started learning on Saturday, self-taught. I have been playing around with it a little bit, and I trie...
[3 replies] Last: Since you want to loop back, you need a do-while loop. Read about it? ... (by anonymouscoder6)
Solve 7 errors
 
Why are their 7 errors? (VS2008) boolean continue=true; double balance; double input; totalWithdrawals; totalDeposits; while (continue) { cout<<...
[11 replies] Last: We're not going to do your assignment for you. As for the code you... (by pwnedu46)
Frames for Console C++
 
Does anyone know how to split a C++ console app into two frames. I know about API but I want to use C++ not C, also API is too complicated for me right now :...
[11 replies] Last: Thanks Disch :) (by xanimeangiex)
Finding the largest smallest and average on the numbers you put in
 
Hi everyone, I got this assingment " Develop a C++ program that detects and prints out on screen the largest, smallest and average value from a set of floating...
[2 replies] Last: Thank you hamsterman. I got it :D (by joker2011)
February 2011 Pages: 1... 383940414243
  Archived months: [jan2011] [mar2011]

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