
please wait
by Yoshima
Program skips out code....
|
Hello, I'm trying to make it so the user has a choice between a 1 and 2 player game in a tic-tac-toe game i made.... It worked fine when it was just 1-pla... |
Jul 24, 2010 at 11:06pm
[4 replies] Last: That's it... thanks... (by Yoshima)
|
by Erain
Saving different versions
|
I'm wondering what the best way of maintaining versions of an in-progress program is, to avoid making changes that wreck my program and saving. Do I just ha... |
Jul 24, 2010 at 11:05pm
[3 replies] Last: Thanks Duoas, a simple yet effective solution. (by Erain)
|
by Spark3n
problem with a simple program
|
Hi everybody, I'm new here. I have a question. I noticed an "error" in this simple program that I wrote to start my experience in c++ : #include <iostream> us... |
Jul 24, 2010 at 9:58pm
[4 replies] Last: to m4ster r0shi: Thanks you're right! :) to Spoking & Athar : I'm f... (by Spark3n)
|
by Masifrz
Rand() function
|
i m using rand() function in my program to generate random list of integers in a array using a loop. all thing is ok but rand() generate list in same sequence e... |
Jul 24, 2010 at 9:04pm
[1 reply] : Check the reference for srand on this site. (by Athar)
|
by ehsangha
Struct And CLASS
|
Hi . what is my fault . my compiler return this error for method setBBB() expected primary-expression before '.' token| #include<iostream> using namespace... |
Jul 24, 2010 at 6:23pm
[2 replies] Last: Thanksssssssssss m4ster r0shi (by ehsangha)
|
by vishuvishal
Pointer to an array (c programming)
|
Hi folks, I am confuse on this topic. What is relevant of pointer to an array. I thought that array itself is a pointer. Which keep track of it's memory add... |
Jul 24, 2010 at 6:18pm
[no replies]
|
by ehsangha
LINK LIST
|
Hi. i can store a linked list to a file but, i have problem for read . I don'n know how to start for reading |
Jul 24, 2010 at 5:59pm
[5 replies] Last: Thanks Galikkk (by ehsangha)
|
by Gladdok
std::vector Crash
|
I'm trying to write a component class along the lines of an Entity-Component-System arrangement. However in the public function TriStripData::Append, when it c... |
Jul 24, 2010 at 5:38pm
[2 replies] Last: Furthermore, -> Notice that your assignment operator isn't impleme... (by m4ster r0shi)
|
by veras
Segmentation fault and C strings
|
Hello, I was deliberately trying to generate a seg fault here: #include <stdio.h> #include <string.h> int main() { char s1 = "aeiou"; char s2 = ... |
Jul 24, 2010 at 4:36pm
[3 replies] Last: I don't understand what's your problem exactly. Btw, why do you pri... (by mtweeman)
|
Cannot order the numbers in ascending order |
#include <iostream> using namespace std; int main(){ bool n=true; int i=0; for (int num1=1 ; num1<50 ; num1++){ for (int num2=2 ; num2<50 ; num2... |
Jul 24, 2010 at 1:39pm
[3 replies] Last: Thank you very much. It may be useless. and I just want to learn f... (by horace5563333)
|
by Fresh Grass
Store System() output (win platform)
|
As windows users may know, the only way to analyze disk fragmentation in Vista (without 3rd-party software) is to use command line "defrag c: -a". I'm making a ... |
Jul 24, 2010 at 11:31am
[no replies]
|
by Twinfun
Constructor error catching... (I guess?)
|
I'm having trouble finding out how to set a variable containing an object to some sort of error code during instantiation. I'm not sure whether or not this expl... |
Jul 24, 2010 at 9:26am
[4 replies] Last: However, I would recommend just throwing an exception. That is what m... (by firedraco)
|
by dejamzo
Initial input
|
Hi there, I was wondering which function is used to get any initial input string when the program is run, i.e: if I typed ¨./testprogram bla bla bla¨ into the... |
Jul 24, 2010 at 8:03am
[2 replies] Last: thanks! (by dejamzo)
|
by nasiroudin
Compare user input and data in file
|
File name: myfile.txt which contains a series of usernames and passwords for each username. Data in text file: username1 password1 username2 password2 ... |
Jul 24, 2010 at 6:53am
[2 replies] Last: #include <iostream> #include <fstream> #include <string> using n... (by nasiroudin)
|
by biohazard12
what are the programs needed to make a c++ programs and hacks?
|
this is like my first day.. |
Jul 24, 2010 at 6:26am
[1 reply] : You'll need a compiler and an ide. see http://www.cplusplus.com/articl... (by hamsterman)
|
by mcode
3d tutorial ?
|
is their a good tutorial to learn 3d programming in C++ ? thank mcode |
Jul 24, 2010 at 6:14am
[1 reply] : It depends on the library you're going to use. Here's one for OpenGL :... (by hamsterman)
|
by Mreza
error C2065: 'random' : undeclared identifier
|
Hi! I am reza! I'm just a beginner. While writting this code i reciev an error. //This program generates random numbers. #include <cstdlib> #include <cti... |
Jul 24, 2010 at 6:08am
[1 reply] : The function is called rand() (by hamsterman)
|
hello |
hi everybody i write from palermo i begin to program in c alberto diprima |
Jul 24, 2010 at 4:33am
[no replies]
|
by JohnnyChrist
Creating a Window with Drop-Down boxes
|
I'm very new to C++ (Started today. :D), and have just been messing around with simple functions. I've made six separate console applications, each converting f... |
Jul 24, 2010 at 3:37am
[4 replies] Last: You will need to learn the Win32 API. It is not all that complicate... (by Vexer)
|
by Crunk1
double "enter"?
|
I'm pretty new to C++. I keep getting this issue when I try to use switch. cout<<"Enter 1 to enter student info, 2 to view student info, 3 to add... |
Jul 24, 2010 at 3:16am
[2 replies] Last: thank you so much :) (by Crunk1)
|