General C++ Programming - May 2013 (Page 3)

multidimensional array
 
I've got this code under main: cout << "n= "; cin >> n; bool m ; //expected constant expre...
[5 replies] Last: @frescofrs Regarding... it only gives an error when i try to pass t... (by andywestken)
invalid conversion from 'const ... ' to '...'
 
Hi everyone, I keep getting errors from the following code: int orgCount, newCount; ...
[7 replies] Last: Oh... my bad. Thanks for the help guys!!! Much appreciated. (by johnny45634)
How to get array size inside method
 
Hi, i'm new to c++. here is my scenario. I have one array with size of 5 and passing this array t...
[6 replies] Last: You might find the discussion over in this other thread to be illumina... (by Duthomhas)
What Is Wrong!
 
I Dont Understand! #include<iostream> #include<ctime> #include<cstdlib> #include<windows.h>...
[3 replies] Last: Thank You naraku9333 It Worked (by closed account jyU4izwU)
help! generate skew distribution
 
does anyone know how to generate a skew distribution random number? or is there any place having re...
[2 replies] Last: It is really useful . Thanks very much. (by huang11404)
Want to make a notepad in c++
 
I am making notepad in c++,i want to give it a windows look like as included in windows api (basic b...
[1 reply] : Well you can either write the code completely by hand for Windows func... (by ajh32)
Can't understand the output of this program
 
Hi I executed the following program -: #include<iostream> #include<string> using namespace s...
[1 reply] : #include<iostream> #include<string> using namespace std; int main() ... (by MiiNiPaa)
List Pointer not deleting
 
LinkedList* listPtr = new LinkedList; listPtr->addNode(3); listPtr->addNode(4); listPtr->addNode(...
[8 replies] Last: Thanks. I was aware I still needed a copy constructor and copy assignm... (by h4ckb0x7)
how to use <chrono> in c++
 
i have an assignment based on researching on a specific header file and i have chosen <chrono>. i...
[3 replies] Last: thenk u very much (by Fallen angel)
How to create array with size of another method returning value
 
Hi, I have to create array with size that returns from method int val=test(); int arr ; int ...
[7 replies] Last: well, using STL mostly will affect performance if you don't know how t... (by Rechard3)
Having an error when trying to pass a string value
 
In my program which I'm writing as assignment for my HND is giving me a an error when I enter data i...
[4 replies] Last: Thank you very much (by Sinux Sand)
visual studio 2012 command prompt problem
 
when i output something command prompt disappear in a second i do not want to use the system("pau...
[4 replies] Last: use cin.ignore(); this topic is covered in the beginners forum. htt... (by Yanson)
by Ziru
Graphical user interface with Qt Creat
 
Good evening friends. It is possible to develop a graphical user interface in Qt Creat for C langua...
[2 replies] Last: Sure, you can use that IDE for C language development (see http://www.... (by Bilderbikkel)
Linked List Delete List
 
I'm working on a linked list and was wondering how this looks to everybody else for a deleteList fun...
[6 replies] Last: Correct. It is perfectly safe to delete a null pointer. (by cire)
undefined reference to `_mainFlags'(solved)
 
http://www.stanford.edu/class/cs106b/assignments/Assignment1-linux.zip I am self-studying this as...
[3 replies] Last: Thank you L B. I now have a better understanding on how the provided l... (by andrenvq57)
Help me to solve
 
Im supposed to identify the errors and compile and run the program Task#1 - compile & correct the...
[2 replies] Last: It still shows error after i identify and modify the code : /*Malani ... (by Malani Nair)
ACM search problem
 
Hey, i have trouble understanding the input and output of this problem link to pdf :https://icpca...
[no replies]
by Hucaru
Access Violation
 
Hi, I am making a game using SFML. I have implemented a state handling system and am just filling in...
[11 replies] Last: Okay I will give this a try. (by Hucaru)
by aj3423
how to handle async operations
 
Hi, I've been thinking over this for long time... For example, when a button is clicked, print a ...
[2 replies] Last: That't it, Thanks., (by aj3423)
Vector shuffle print
 
Hello, I've a txt file (musica.txt) and I'm trying to shuffle the vector that contains it (vector<Mu...
[3 replies] Last: By the way in your original code you are skipping the first line of th... (by vlad from moscow)
May 2013 Pages: 12345... 47
  Archived months: [apr2013] [jun2013]

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