General C++ Programming - July 2013 (Page 15)

reference n pointers ??!!
 
what are the differences between using reference in c++ and using pointers?? like eg: int var& va...
[no replies]
SDL fill screen with image?
 
so im trying to make a background for a menu, but it is only so big. its not the kind of picture whe...
[4 replies] Last: thanks. i figured it out. i found this small header/cpp file combo cal... (by closed account Dy7SLyTq)
struggling with the strings!!
 
Hi guys, I have a headache for the last two days because of this program, I tried everything i coul...
[2 replies] Last: Thanks a lot. I appreciate it. (by neverwas10)
string function in implementation seciton
 
Hello, I am having trouble with the implementation section of my code. The trouble I am having is wi...
[2 replies] Last: haha, Thanks.. Thats awesome, It worked.. (by closed account 98qiz8AR)
Array/ Pointer gives me an error
 
The program should ask the user how many students were surveyed and dynamically allocate an array of...
[2 replies] Last: thank you! it worked. (by cPPbeginner17)
How to implement Karger's Algorithm. Implemented the Graph DS so far. Need help.
 
#include <iostream> using namespace std; //adjacency list representation. I have created a li...
[no replies]
PROGRAMING IS NOT RUNNING !!
 
I can neither understand the problem with the following code nor the error message. please help me t...
[5 replies] Last: String loterals has type const char , that is they may not be change... (by vlad from moscow)
HELP!
 
International Book Fair which was held for 30 days attracted many visitors. Only those visitors with...
[1 reply] : what do you actually need help with (by Paoletti301)
SDL window centering?
 
I am trying to do two things that i have an issue with finding on google. the first is im trying to ...
[1 reply] : To center the window you can do SDL_putenv("SDL_VIDEO_CENTERED=cente... (by Peter87)
How to play sound when the program ends
 
How can I play sound when the program ends? I am using Windows 7. Thank you :)
[15 replies] Last: A quick sound ? Since the thread is not yet closed if you ever happen ... (by Tertius Kgatla)
Basic chunk...Help please
 
Heres the output: D:\Videos\CustomStory(Red X Orginization)\main.cpp|54|error: 'WM_Paint' was n...
[3 replies] Last: Nah, sorry. There was a WinAPI tutorial I learned the basics from lik... (by Disch)
Problems linking Boost with GCC
 
I am trying to build my project https://github.com/naraku9333/aBot with MinGW and GCC (linux) and ge...
[4 replies] Last: Thank you, worked perfectly. Edit: Had to add -lWs2_32 for MinGW (by naraku9333)
Advice
 
hello I am a beginner in c++ , I have learned iostream , templates and those things and I want to co...
[5 replies] Last: for what is iostream library being used mostly? First off, it's a he... (by ResidentBiscuit)
Saving PNG file in console program -- losing data
 
I am working on a project that uses a web service to extract a PNG image from a web server and save ...
[11 replies] Last: I hadn't thought about fread! Just tried out this version and I'm gett... (by dhojnac1)
Dual Stick Controls
 
Does anyone know how to make a Dual Stick Controls for a IOS game, I heard you can get the source co...
[no replies]
Problems with float data type
 
Hello, I am working on a project where I have the user to input a value and I am storing it in a f...
[5 replies] Last: While I want to limit the precision when storing the number, if possib... (by tnjgraham)
overriding operator () in class
 
Hi, I am trying to finish a logging class and I am having trouble overriding the operator () (LogLe...
[12 replies] Last: Is there a way to tell what is the LAST operator being executed on a ... (by andywestken)
Date input validation
 
struct Inventory { char date ; }; cout << "Date Added To Inventory: "; cin >> Info.date; Ho...
[no replies]
Displaying a Text File...("Echo" a Text File)
 
So I'm really stuck trying to figured this bug on the program that is preventing me from displaying ...
[3 replies] Last: > Is there any way cleaner or simple method i can used to display the ... (by JLBorges)
c++11 for(each) loop
 
so i am using g++ with code::blocks, and i having trouble with my for loop. gcc will use c++11 (that...
[6 replies] Last: It's not the reference that is set to null, but the pointer. Maybe it'... (by Peter87)
July 2013 Pages: 1... 1314151617... 34
  Archived months: [jun2013] [aug2013]

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