General C++ Programming - January 2013 (Page 3)

Inserting into a vector which is in a map?
I have a program that stores values in a map>. I use the map as a dictionary so that I can look thro...
[5 replies] Last: @JLBorges Thank you!! This solved exactly what I was trying to figure... (by hopesfall)
Window resizing
Hello all, i have had recent trouble trying to get my win32 console window to fit my 1600 x 900 disp...
[2 replies] Last: Thank you all guys your help has been invaluable, do you know where i ... (by Brandalf)
Reading and using lines from a txt file
Hi, i have to read lines from a file and using this lines to create objects. Example: I have this t...
[no replies]
Platformer - Only scroll the platforms help.
I need to make so just that the platforms I have scroll left or right, not the background as well. ...
[no replies]
by Sucho
strcmp not working
I use GCC compiler(4.6.2) with Code::Blocks IDE. Iwrote the following code for password check- #in...
[3 replies] Last: Thank you so much solved the problem!!!! (by Sucho)
CAS client in qtcreator or visual studio
Hello to everyone! I have the task to communicate our topical application(C++) with a distant ser...
[no replies]
Parse a txt file
Hello I have a text file with the following format //MAIN OBJECT Object = ControlNetwork ...
[1 reply] : The control point objects are nested in a main object. Does each text ... (by Ogoyant)
Multi Condition function for Char type
I thought this function was so cool, that i wanted to share it. I have always written like a>='0'&&a...
[1 reply] : A little hard to use but more po... (by MiiNiPaa)
class member functions with pointer parameters
I have this homework assignment that is giving me a lot of trouble right now. My teacher is very vag...
[5 replies] Last: Ok I understand the issue there but then what is the proper syntax? I... (by cire)
by Ryuuji
Accessing Direct Memory Access in Windows XP (Transfer Mode)
Hi Guys! I really need your help! I need to know how can i get the current transfer mode (DMA ...
[no replies]
Please i'm confused help he
Is it possible to define two functions as given below func(int x, int y) func(int &x, int &y)
[2 replies] Last: Actually, no, you cannot do that. Because the compiler won't know whic... (by closed account 9y8C5Di1)
Dynamic array of pointers declaration problem?
Hello, I am attempting to declare an array of pointers dynamically based on user input. I am not sur...
[1 reply] : THis is what you need to do. Although it would hep if you did some ch... (by ajh32)
virtual topology design
why the following errors have occured .......... c2087: Missing Subscript c2133: Unknown size ...
[12 replies] Last: thank u MiiNipaa (by nevetta)
incomplete type 'main()::LinuxCamera' used in nested name specifier.
Hi everyone, I got an error in my program. My program is like int main() { class LinuxCamer...
[5 replies] Last: @Bandar: do u find out any mistake in my socket.cpp program? If so, pl... (by sanda199)
error: two or more data types in declaration of 'main'
Hi everyone, I had error when i run my program. My program is like in my source program #incl...
[5 replies] Last: Show content of LinuxCamera.h (by MiiNiPaa)
Circular shift a cstring in C++
Hi, I need to circular right shift a cstring in C++ Let's say I have unsigned char test = "HELLO...
[6 replies] Last: > I need to shift the entire array by bits, not characters. So don't ... (by JLBorges)
ISO C++ forbids declaration of ‘Image’ with no type ??
HI I'm writing a school programming homework and the following scene.h is a header file for class Sc...
[1 reply] : It tells you that Image isn't a type name. Does it really starts in up... (by MiiNiPaa)
source file and header file are not compiled together
Hi everyone, my socket.cpp program got error. it showed "socket.h: no such file or directory". I had...
[1 reply] : You need to have 3 files: First, you have the socket.h file which cont... (by Smac89)
by CroCo
Plotting in C++?
Is there any way to plot any function in VC++ 2010? in Forms?
[3 replies] Last: thank you guys. (by CroCo)
by arms4
fix my array position!
Here is problem i want to make an array with a range of number from 1-9 only. So if the user entered...
[3 replies] Last: error (by ungeiliverable)
January 2013 Pages: 12345... 36
  Archived months: [dec2012] [feb2013]

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