Beginners - October 2011 (Page 7)

by ggg123
Guidance required in making a GUI ?
 
Hello, I have made a store inventory system in console in C++. I would like to know how can i ...
[3 replies] Last: Start with this: http://www.winprog.org/tutorial/start.html Once the... (by JMJAtlanta)
Second Permutation algorithm
 
Hi all, I also have 3 other codes that I need a comment for them. I will post 2 others in other pos...
[no replies]
Generate Permutations algorithm
 
I have a code that generate permutations of n elements. I need a step by step commentation for this ...
[no replies]
Mode Program Help.
 
I think everything is right but it is still not working. Wonder why. Here is my function. Help pleas...
[11 replies] Last: i changed that as well thanks (by biplav17)
running program
 
I have trouble running this program. I get an error saying "end of file found before the left brace ...
[2 replies] Last: Yep, your "while" loop has braces, but your "main" function is missing... (by JMJAtlanta)
Merge_Sort complete version
 
#include <iostream> using namespace std; int a ; void merge(int,int,int); void merge_sort(int lo...
[no replies]
by Bradd
while and if statements... not sure how to loop. If you could be of any help that would be amazing!
 
In this code I am trying to write a code that will count the number of 0's and the number of 1's fro...
[3 replies] Last: Thanks for sharing Azagaros. This was also my issue with my project bu... (by triciahope)
Error Message box
 
Any problem with this? #include <windows.h> using namespace std; int main() { int choice; ...
[1 reply] : Delete lines 2, 3, and 4. In windows, WinMain() takes the place of mai... (by JMJAtlanta)
A book - is it any good?
 
I just borrowed a book about C++ from my local library. "C++ Primer Plus - Fifth edition" By St...
[1 reply] : A great book, well organized in my opinion. Many hear say it is better... (by JMJAtlanta)
Compiling errors after declaring instance of class
 
Compiler: VC++ '08 OS: Windows 7 Starter Edition I am trying to create a sort of text RPG, but I ha...
[1 reply] : Class definitions must be terminated with a semicolon (line 23). (by JMJAtlanta)
Get Line
 
I want to read certain lines from a file, let's say the 4th and the 1st lines. First I used getline ...
[3 replies] Last: Two ways: Close and reopen the file. Then read again. filein.close()... (by wolfgang)
declaring problem.
 
I am struggling with finishing this program. it says that "studentType" is not declared. well its su...
[11 replies] Last: In addition, it is better to use .h file like a reference and source..... (by behzadkh)
Visual Studio 2010 Error
 
Getting Error: Expression must have a (pointer-to-) function type. Its in the last function. #inc...
[2 replies] Last: when i put the semi colon after the c); i get another error at the fir... (by ant1989)
Prime Number Calculator
 
Hi! I'm having a bit of an issue with my prime number counter/calculator. #include <iostream...
[1 reply] : Your isprime() has 2 problems: 1. The variable 'first' on line 12 is ... (by coder777)
Help with counter
 
So i've made a big function that will handle the main game mechanics. Lets say that the word is 'ex...
[2 replies] Last: You need to turn the type 'found' int vector<int> on line 41 you can ... (by coder777)
Content of a vector
 
Lets say you have a vector holding chars, and you type in that char again. How do you check if the v...
[1 reply] : std::find(v.begin(), v.end(), ch) != v.end() (by coder777)
setting a character array with spaces?
 
I'm reviewing for an exam tomorrow, and the old tests I've seen include the question: Given the f...
[3 replies] Last: thank you shacktar, strcpy is what they're asking for. been pulling my... (by Smooth23)
Simple 2D Graphics
 
Hi, I've been learning C++ for a little while now, making my own little programs and such, and I ...
[3 replies] Last: Have you looked into Boorland Graphics? This is for drawing like you ... (by H4CK3R)
Cannot figure out, why this isn't running entirely.
 
It starts the program and it prints half of what it is supposed to and then stops and says windows c...
[6 replies] Last: And now that I look at the code in the book with where you identified ... (by Thaddeusmnky)
by gh24
Lpsolve Questions : anyone good with it?
 
Hey, I am struggling to use lpsolve dynamically. I have an input of length and size unknown. I ...
[no replies]
October 2011 Pages: 1... 56789... 59
  Archived months: [sep2011] [nov2011]

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