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

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] : http://cplusplus.com/reference/regex/ 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)
can't call function
 
Hi everyone, Let me ask you questions. I wanna call function from another program to my program. I h...
[5 replies] Last: @theranga Thanks for correcting me. Yes, it is a constructor not a fun... (by CroCo)
by arms4
check 2d array error
 
Here is requirement, the array can only be placed with number from 1-9 and all them need to form a...
[no replies]
My own template vector class. Can't push_back?
 
I'm not too sure why this isn't working. This is the most I've ever used templates so I don't know I...
[9 replies] Last: Code has to be generated for each type passed into a template. Thus, y... (by closed account S6k9GNh0)
Using ifstream as a constructor parameter
 
I'm trying to pass an reference of the object ifstream to my constructor as such: // myClass.cpp i...
[3 replies] Last: it should say using namespace std; . that will the same thing as wha... (by theranga)
Need assistance with making a password system(PLEASE ANSWER?).
 
Hello again! Right now, I'm trying to make a password system that stores and tries to protect a piec...
[no replies]
understanding someone else code.
 
Thx for reading, I found this code the other day and wanted to understand it so saved it, complied ...
[2 replies] Last: When you mod (%) the least significant digit in a number in binary for... (by buffbill)
January 2013 Pages: 12345... 36
  Archived months: [dec2012] [feb2013]

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