General C++ Programming (Page 2)

i wondering that one
 
Create a class by the name student with attribtes.id.name.markes().and gpa In addition it should co...
[1 reply] : [quote=keskiverto]Please note that this is not a homework site. We won... (by Gamer2015)
by kekie
SFML static
 
I have set up SFML, and am compiling the following code; #include <iostream> #include <SFML\Gra...
[5 replies] Last: sfml 2.3 doesn't need glew (by shadowmouse)
Having problems with the code...error LNK2001: unresolved external symbol "private: static int Employee::numEmployees"
 
// Program Name: Basic User Interface // Programmer: Alicia Long //CIS247C: Week 3 lab //Progra...
[2 replies] Last: THANK YOU!!! So much (by alicialng)
by ZeHgS
error C2064: term does not evaluate to a function taking 2
 
Hi guys. I'm getting this error Error 5 error C2064: term does not evaluate to a function taking 2 ...
[4 replies] Last: You were right, the problem was somewhere else! Thanks a lot for your ... (by ZeHgS)
"return" with no value? what that?
 
void Game::run( HWND hwnd ) { if ( graphics == NULL ) // if graphics not initialized return; .....
[5 replies] Last: Unless the function you're exiting is main(), of course! Andy (by andywestken)
Segmentation fault, strange
 
char grid = { {'O', 'O',' ','O', 'O', 'O'}, {'O', ' ','X','X', 'O'}, ...
[4 replies] Last: Changing line 35 to Organism *organisms = {0}; /* C or C++ */ or... (by andywestken)
program help
 
Hello, I need to write a function squeeze(s1, s2) that deletes each character in s1 that matches ...
[10 replies] Last: I need to write a function squeeze(s1, s2) that deletes each charac... (by keskiverto)
Cannot open file rand.c codeblocks
 
Cannot open file rand.c code blocks any suggestions?
[2 replies] Last: It says rand.h no such file or directory...I do not have any file rand... (by csstudent123)
Invalid pointer aborted core dumped
 
row=20, col=20; Organism** organisms= new Organism* ; for(int i=0; i<row; i++) { ...
[2 replies] Last: I added this and I do not get error, but is the logic ok? for(int ... (by csstudent123)
Homework Assignment - Paypal $40-
 
Please Close Thanks
[3 replies] Last: Free (as in FreeBSD): strcpy: https://svnweb.freebsd.org/base/release/... (by JLBorges)
best way to distribute array elements uniquely between 2 smaller arrays
 
Let's say I have an array of values const valuePool = {1, 2, 3, 5, 7, 9, 11, 13, 21, 22, ...}; ...
[4 replies] Last: You have, however, an interesting problem. 1) Subarrays must have un... (by Duoas)
How do i edit excel files?
 
I want to make a c++ program that edits a excel file with what has been inputted into it. But the pr...
[3 replies] Last: If you're looking for information on controlling Excel, the phrase to ... (by andywestken)
Keeping getting no suitable conversion function from "std::string" to "double" exists
 
#include <iostream> #include <string> #include <iomanip> #include <stdexcept> #include <sstream>...
[2 replies] Last: THANK U SO MUCH!!!!!I really appreciated it (by alicialng)
Random function inside of a character array
 
I'm working on a very basic snake game, and am in need of some help. In my loop I am and trying to r...
[4 replies] Last: I see. How bout doing somthing like this after lines 58, 68, 78, and... (by CLman94)
RunTime failure in gmock unit testing
 
Hi, I am trying to run the unit tests written using gmock. While running, I am getting unit test...
[no replies]
Is there a way to work around this? (Return Value Function)
 
Getting an ERROR on the new code. I've approached it a different way letting the user re attempt to...
[7 replies] Last: picky picky mr westken haha ;-) Yep - I was in a picky mood at the t... (by andywestken)
Singleton in multithreaded program
 
Hi guys ! Sorry if I don't know how to short up the subject, but I'm not used to write or speak engl...
[4 replies] Last: and I use it with a Singleton to don't send each time I use a functio... (by Gamer2015)
Division (mathematics)
 
"----"-divide number 1000 ---- 2 ---- 25 ---- 2 ---- 10 In mathematics how to solve this calculati...
[2 replies] Last: Thank you. (by rizaado)
look for and replace information in a file
 
Hey guys, I'm writing a program which saves information for the clients of a dating service like thi...
[3 replies] Last: Thank you guys so much for the explaining it so well. (by itsallpoison)
checkered pattern
 
Hi This program draws ckeckered pattern onto the surface of the sphere.It's for 8*8 .how can i edit ...
[1 reply] : On line 9 t has to be 1./16., the two for loops go from 1 to 16, and o... (by ats15)
Pages: 1234... 47
  Archived months: [mar2015]

Cannot post in this page. To post a new message, go to the first page.