Beginners - July 2010 (Page 7)

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...
[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...
[3 replies] Last: Thanks Duoas, a simple yet effective solution. (by Erain)
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...
[4 replies] Last: to m4ster r0shi: Thanks you're right! :) to Spoking & Athar : I'm f... (by Spark3n)
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...
[1 reply] : Check the reference for srand on this site. (by Athar)
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...
[2 replies] Last: Thanksssssssssss m4ster r0shi (by ehsangha)
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...
[no replies]
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
[5 replies] Last: Thanks Galikkk (by ehsangha)
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...
[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 = ...
[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...
[3 replies] Last: Thank you very much. It may be useless. and I just want to learn f... (by horace5563333)
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 ...
[no replies]
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...
[4 replies] Last: However, I would recommend just throwing an exception. That is what m... (by firedraco)
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...
[2 replies] Last: thanks! (by dejamzo)
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 ...
[2 replies] Last: #include <iostream> #include <fstream> #include <string> using n... (by nasiroudin)
what are the programs needed to make a c++ programs and hacks?
 
this is like my first day..
[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
[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...
[1 reply] : The function is called rand() (by hamsterman)
hello
 
hi everybody i write from palermo i begin to program in c alberto diprima
[no replies]
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...
[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...
[2 replies] Last: thank you so much :) (by Crunk1)
July 2010 Pages: 1... 56789... 31
  Archived months: [jun2010] [aug2010]

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