Beginners - August 2011 (Page 34)

static vectors/maps
 
Hello all Could anyone please tell me how do I declare and make use of static vectors & static maps...
[1 reply] : You need to make the static object either protected or public. Your c... (by webJose)
Need help to repeat the programme
 
#include <stdio.h>; #include <cstdlib>; void main () { int option; char repeat; do { ...
[11 replies] Last: oo i c thanks (by Frozendog11)
Object Positions
 
Hey guys/girls, I've got a serious brain block on the part thats supposed to think when i hack co...
[1 reply] : Define the object type struct objectType { int x; int y; ... (by Moschops)
by kassik
array
 
Hi there I am trying to write a code that in there I want to use these orders #include<iostream...
[13 replies] Last: Except that sizeof int is usually 4. (by hamsterman)
class StudentEntry {...} *entryList[MAX_STUDENT];
 
Hi, I am beginner and i haven't seen class like this...can any body explain me role of this class? ...
[5 replies] Last: Despite the errors in code I see many formatting problems that makes t... (by siavoshkc)
by maliv
class header issue
 
hi everybody i have trouble in classes and headers . here is my files: file:test.h #ifndef TEST_H...
[2 replies] Last: i dont know how i should link test.cpp with main.cpp i have written ... (by maliv)
Continuous Calculator w/ object class
 
#include <iostream> using namespace std; //1.This is my current code for a calculator, //I need...
[5 replies] Last: Like I said, make your main Equation e; e.read(); cout << "ther re... (by hamsterman)
Changing The Ouput From GetLocalTime() Using Cout
 
I need to include a timestamp accurate to Milliseconds therefore I am using the GetLocalTime functio...
[5 replies] Last: Try cout.width(). (by webJose)
Where to go
 
I am currently taking a 2 week course in C++ and by the end of the week I hope to know basicly all t...
[6 replies] Last: Making video games was the reason why I wanted to be a Software Engi... (by sohguanh)
by Adrio
C++ Class calculator not working
 
So the assignment is to make a class calculator. The professor gave us a lot of help and very specif...
[8 replies] Last: How did you figure out how to program in order for the calculator to w... (by LadyCooper)
calling an array function issue
 
I'm just starting this program and cant seem to call the function to display anything. If I don't us...
[4 replies] Last: never mind i figured this out thanks (by krakkens)
Read char from text file always result in extra one line
 
Hi, I would appreciate if someone can advise me on this issue. I am trying to write a program that ...
[no replies]
Swap value by pointer
 
I have a function that takes in typedef struct{ int a; int b; }example void foo(example s) { /* I...
[1 reply] : I think you meant this: void foo(example s) { int *a = &s.a... (by shacktar)
Problem with variables (I think!) (1,2)
 
I've started trying to learn C++ because I find it pretty interesting, and I need something to do ot...
[20 replies] Last: wow. that was the last thing warnis! just me being unobservant and tir... (by jrtfiges)
Another problem making SDLSurface show
 
It doesnt have the same solution though hehe. I just made this new class for my "monster". But th...
[no replies]
DLLs
 
Hi there, I am experimenting with exporting functions to a DLL and using this DLL in another proj...
[no replies]
by wasabi
Using parent assignment operator
 
Let's say I have the following code: struct A { int a; operator=(A& obj); }; struct B :...
[4 replies] Last: That is... completely reasonable. Thanks. (by wasabi)
Sending arrays from a program to another
 
i have two programs, the main program reads a list of files and them read the files one by one stori...
[17 replies] Last: Regarding programming languages, the choice really depends on what you... (by andywestken)
Creating executables
 
I'm creating a program that I plan on distributing to a multitude of people. I am using Microsoft Vi...
[7 replies] Last: Be aware that unless you are very careful and explicit about how the c... (by Duthomhas)
Why isnt my SDL surface showing?
 
Everything is running fine except the gun is not showing. Please tell me where i screwed up. in P...
[2 replies] Last: Yeah lol thanks again disch! (by nano511)
August 2011 Pages: 1... 3233343536... 39
  Archived months: [jul2011] [sep2011]

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