General C++ Programming - April 2010 (Page 12)

by louisa
Racing game
 
Hi i am very new to C++ and i am trying to convert a pong game into a racing game. Im having a few issues like i want to have a spilt screen and the two racers/...
[2 replies] Last: //after 30s of inactivity quit game if ((SDL_GetTicks()-iTicksLast... (by louisa)
linking errors in compilation
 
hii!! there are some kind of linking errors coming up when compiled in dev c, is any kind of header file missing or some bugs..... please help...i am really w...
[3 replies] Last: @backcoder41 thanx a lot dude,.... ya its running perfectly now...it... (by imbenzene)
by qabil
POSTFIX
 
hy all.. I want to make a program that can evaluate postfix but error...please help me :) this my code: #include<iostream.h> #define N 10 int i; typed...
[4 replies] Last: finish bro.. now I want to make for the prefix thanx you v much (by qabil)
LNK2001 error
 
I've tried to compile this code but received the same error - LNK2001. I've gone over my code but still, I can't find what may cause the error. So can anyone pl...
[5 replies] Last: OMG oMG!! it runs! thank you so much!!!!!!!!!!!! (by oo05ntv10oo)
by ahmedy
plaese solve it for me :(
 
I need to solve this assignment but i cant , is there anyone could solve it :( Part A Write the definition of a struct named Nametype which ha...
[10 replies] Last: Firedraco, c'mon. That's why I used "law" in double quotes as opposed ... (by Albatross)
by bohjan
Topic on Inheritance
 
Hi there, I would need to confirm a few basic concepts. I have a : Base Class (Employee Class) ------------ (Protected) string name int id __________...
[3 replies] Last: should the ":Employee " be in small e or captial e becos i got it to w... (by Irvine)
Calls before main
 
#include <stdio.h> int call = puts("Hello.."); int main() { puts("World!"); return getchar(); //for being able to see the output ;) } This ...
[11 replies] Last: fprintf(stdout, "stuff"); Now i'm someone who does not know C well,... (by mcleano)
Learning Memory Capacity
 
Hello, I'm trying to learn RAM capacity of computer,it can be done with win API but what i want is to learn RAM capacity on both Linux and Windows operating ...
[5 replies] Last: dos.h It sure is 1990 around here. (by helios)
What is bitmap palette?
 
I've been reading about bitmap file format in wikipedia, but i don't understand what the palette really does. The wiki says The palette is a block of bytes (a...
[4 replies] Last: oh i see, the book written by a man with windows logo tattoo right? ... (by blackcoder41)
About return code and others
 
Hi folks, This is my first test. $ cat hello.cpp // my first program in C++ #include <iostream> using namespace std; int main () { cout << ...
[7 replies] Last: Hi Albatross, Your advice noted. Thanks satimis (by satimis)
Problems with this code!?
 
i'm getting frustrated with this lines of code, it's something about operator= , everything compiles fine, but program crashes during that crap,i'm still a noob...
[5 replies] Last: You could get ambiguities if you use different libraries or if you def... (by Bazzy)
Equivalent of <conio.h>?
 
I am programming on a Mac, and I want to be able to control where the cursor is in the terminal window (similar to what conio.h allows you to do). What is the ...
[4 replies] Last: Thanks for the link! (by pasukon)
by xerxes
Source Codes for Calculator in C++ Using Arrays?
 
Source Codes for Calculator in C++ Using Arrays?
[8 replies] Last: @xerxes: The really good calculators use stacks, not arrays. However..... (by Albatross)
Trying to object orient my code
 
I'm trying to get my code to work as classes and not having a ton of luck. I think I need to allocate in objects themselves but I'm still new at using the heap ...
[3 replies] Last: My problem is that I want to have an array as a class member but I'm d... (by Craig Pemberton)
divide first column numbers from a txt file
 
hy guys, I am a beginner in c and from 3 days I have a big question... I have a file containing the folowing data: 5971 -44 976 -23 5981 -53 980 -23 5991 ...
[4 replies] Last: #include <stdio.h> #include <conio.h> void main(void) { FILE *... (by balambur)
read a file and store thadata in strucure contains char pointer arrays
 
hello every one.. i have a file in which i have four fields each of them are separated by commas the file content is like Base Excess,Arterial Blood Ga...
[1 reply] : fine you can read the whole line as string then you can use substr( ,)... (by ARWA)
by helios
VC++ 2010 (1,2)
 
Anyone tried it, yet? Uncharacteristically for Microsoft, they've broken a few common expressions involving pointers. I was trying compiling some old code yeste...
[24 replies] Last: I'm not on my home computer at the moment with VC++ 2010 Express insta... (by mackabee)
Basic Design Question
 
Hey, I'm working on another personal project. This time, I'm trying to use more object oriented design. My question has to do with the placement of a certain...
[6 replies] Last: Thanks for the help =D (by mackabee)
Tutorial learning C++ on Linux
 
Hi folks, Just join this forum. I, a beginner on C++, have been googling around for tutorial to learn C++ in Linux platform. I found following tutorial; ...
[3 replies] Last: No problem. I can't think of anything else to mention, except to have ... (by chrisname)
by fafner
EXC_BAD_INSTRUCTION hell
 
I've been working on a program that generates a melody by means of some intelligent(hopefully) guessing. It compiles nicely, but I get the infamous EXC_BAD_INST...
[4 replies] Last: Thanks, I'll keep that in mind;) I've never used vectors before, so I'... (by fafner)
April 2010 Pages: 1... 1011121314... 24
  Archived months: [mar2010] [may2010]

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