Beginners - August 2012 (Page 28)

GUI libraries
 
So I realize that I have to use GUI libraries to make applicatiOns with a GUI because c++ has no standard way of doing this. So if c++ has no build in way of m...
[1 reply] : Well some of them can wrap the OS's GUI. Windows has it's own, and I b... (by Volatile Pulse)
linked list
 
Write program to delete each node, if has a repeated value #include <iostream> using namespace std; struct list { int data; list *next; }; ...
[2 replies] Last: @firedraco thank u so much (by Bassam300)
by Adda
2008 Visual C++ errors
 
I have tried a program for the first n*p perfect squares and there are some problems like : error C2668: 'sqrt' : ambiguous call to overloaded functio...
[3 replies] Last: > But why did you make n=10 Initializing n with 10 is really unnecess... (by JLBorges)
Help can anyone help me this is a space invader game
 
please help me show the enemy in my codes #include<stdio.h> #include<windows.h> void gotoxy(int x, int y); void enemy(); void gameover(); void line_display...
[2 replies] Last: nothing is really different my problem is the codes for my enemy i wan... (by sarafina99)
Object Serialization. Help!
 
I am currently working on learning how to store data and objects in binary files, so that they can be loaded and used every time as you start up your program ag...
[9 replies] Last: I got a link that explained Serialization and I have read about it at ... (by Zerpent)
by Thumb
Having a little trouble sleeping
 
For some odd reason, I can't get sleep() to work. It gives me the undeclared message (`sleep' undeclared (first use this function) ) so I run around the interne...
[1 reply] : It's called Sleep, with capital S. (by Peter87)
Creating a simple linked list can't be this hard.. please help
 
Help! I'm really frustrated I'm trying to create a linked list to test one of my functions I did for homework, but I can't create it!! here's what I have below ...
[3 replies] Last: I don't get it... I passed p into the push function, which is where it... (by inter101)
by Kovs95
Pancake Glutton v2
 
Ok! I'm almost done with this simple program lol Requires: variables, data types, and numerical operators basic input/output logic (if statements, switch stat...
[2 replies] Last: Another thing you could do is add: if(i<=0) { Lowest_Value = Pancakes... (by MaxLascombe)
Making white spaces new variable signals
 
Here's the short of it. I am trying to input 3 values. x y and z. Usually when I would write code to have the user input the appropriate amount. The code woul...
[3 replies] Last: Try taking endline(endl;) off. (by Bobby94)
by Kovs95
Pancake Glutton
 
Requires: variables, data types, and numerical operators basic input/output logic (if statements, switch statements) loops (for, while, do-while) arrays ...
[4 replies] Last: DID IT! FINALLY LOL... just read my commments! thanks for all your imp... (by Kovs95)
c++ Tron Game assignment
 
Hi there. I've been struggling with this game for weeks now. I'm to the point where the changes I'm making are making it worse. Two main issues here. One, t...
[3 replies] Last: Thank you for your tips. I know there is a lot of room for improvemen... (by newbe25)
by cdf
reading binary files
 
I have been reading an array of SRD objects from a binary file - but since this was my first time doing so, I have modified a header making all its members publ...
[2 replies] Last: I must disagree with Akshit. & is required because while a is indeed... (by KRAkatau)
by kassik
3d dynamic array
 
Hi everybody I want to use a 3d dynamic array my code is : int h=1000000; int k=5; long double ***c; c= new long double** ; for(int i=0;i<h; i++){ c = new l...
[6 replies] Last: could you please tell me how should it be used what is before and wh... (by kassik)
double linked list
 
struct list { struct node { int data; node *next; node *last; }; node *head; node *tail ; }; how can I make a d...
[4 replies] Last: Wrong names mean wrong code. Wrong words in a sentence give another me... (by vlad from moscow)
by YGAME
returning value to Operating System
 
I'm new in C , and i couldn't figure it out the need to return the value from function to the OS, like return 0; or exit(1); . please someone clarify this. th...
[3 replies] Last: thanx bobby94 (by YGAME)
by Kovs95
While(user == guillible)v2.0
 
Requires: variables, data types, and numerical operators basic input/output logic (if statements, switch statements) loops (for, while, do-while) Write a progr...
[2 replies] Last: Nice! I did something similiar. Thanks (by Kovs95)
pointers and array
 
#include<stdio.h> #include<conio.h> int main() { int arr1 ={1,2,3,4,5,6}; printf("%d\n",*(arr1+0)); printf("%d",arr1); getch();...
[5 replies] Last: @vgoel38 (12) u said arr1 is the address of the first element of 2-... (by vlad from moscow)
Differences of ios::out , ios::trunc
 
I would like to ask, what's the difference of ios::out , ios::trunc ofstream out("/bla/bla/a1.txt", ios::out); ofstream out("/bla/bla/a1.txt", ios::trunc);...
[2 replies] Last: My friend thank you very much for your answer... But the question rema... (by ThomasMylonas)
C++ 2D Game Programming Reference Material
 
I'm looking to purchase a C++ book that extensively covers the 2D side of things when it comes to game programming (don't want to get into the 3d side of things...
[3 replies] Last: C++ is an excellent language for game programming. What do you know? ... (by Phil123)
by gerfy1
Grading program not working
 
I have a program here for grading but it says that there are duplicate case values? Please help me fix my program. [#include <iostream> using namespace st...
[2 replies] Last: thanks! I am starting to learn c++ and people like you help me out alo... (by gerfy1)
August 2012 Pages: 1... 2627282930... 45
  Archived months: [jul2012] [sep2012]

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