General C++ Programming (Page 5)

q: abt static-cast function
 
Below code - simply experimenting with it to learn more abt static cast functions. THe purpose of th...
[6 replies] Last: > error redeclaration Don't redeclare; reuse the same variable. int... (by JLBorges)
by LASims
Type cast issue
 
unsigned long mSecDay = 0; double secondsOfYear = 0.0; mSecDay = 52575812; secondsOfYear = (dou...
[5 replies] Last: Another alternative is to use rationals instead of floats. The only pr... (by helios)
Reading from file input problem !!
 
i face a problem when i read input from a file, so what is the solution of this problem ? the input ...
[5 replies] Last: thank you LB (by mahmoud2592)
closed (1,2)
 
closed
[30 replies] Last: thanks , may i check how do i print out the array after this as size i... (by techishawn)
Virtual Pointer for Virtual table
 
Is virtual pointer inherits to derived class? I tried this and got the ans that 'yes'. Pleas check...
[13 replies] Last: Right......... (by akash16)
by yj1214
How does native window api display graphics?
 
How does qui libraries like win32, cocoa and other libraries draw their graphics? (like buttons, bac...
[1 reply] : Search keywords: Graphics Device Interface (GDI), Quartz, DirectX. (by keskiverto)
by LB
MSVC chokes on template metaprograms
 
I'm getting an error in Visual Studio but not GCC or Clang. I have already tried my best to reduce t...
[2 replies] Last: It's supposed to connect real C++ member functions to an ancient C lib... (by LB)
by mnm71
How convert vector 2D to char array??
 
I want to convert vector<vector<unsigned char> > v to char a and then convert char a to str...
[19 replies] Last: @JLBorges yeeeeeeeeeeeeeeeees tank you very very much it is work.... (by mnm71)
whitespaces are killing me...
 
I've been working on this all night and for some reason I can't seem to get the output to come out r...
[7 replies] Last: I can't believe I missed that all this time... missing one = :( <pick... (by newby13)
Copy elements of pointer.
 
I tried to understand pointers and I cant figure out how to copy the elements of the array that the ...
[5 replies] Last: Hi, Array should be of size 4 at line number 4. For your que : "is th... (by akash16)
Segmentation fault
 
Hi, I try to run this code and i got segmentation fault. #include <iostream> #include <string.h...
[2 replies] Last: so as you point out about the return. i modified my codes and it works... (by hahacprog)
by leourb
Operations between two classes
 
I have wrote two template classes: Vectors.h #include "std_lib_facilities.h" #include "Numbers.h"...
[6 replies] Last: Yep it was.. I have done! Thank you for your advices LB :) (by leourb)
Getting Data from Two Different Text Files and Storing into Structs
 
My C++ program won't get the data from the text file and store it into a struct. It compiles without...
[5 replies] Last: Also there is a getline after formatted input problem. http://stackove... (by MiiNiPaa)
by Vv4H
Need help with random char generator with multiply ranges
 
Hi, im trying to create a 2d maze that changes every time you run it, but im having troubles generat...
[3 replies] Last: Thanks for the suggestion guys, ill try accordingly (by Vv4H)
by yj1214
Undercoated window or custom window?
 
Programs like iTunes, steam etc. seems to have their own style of window... How do these programs...
[17 replies] Last: I think there is some confusion because of my usage of the word 'windo... (by LB)
by Vangy
What should i know
 
Hello What should I know to become good C++ programmer that can find job easily ? I gave your...
[1 reply] : http://www.cplusplus.com/forum/lounge/167619/#msg841272 (by helios)
c++11 pass by value vs reference
 
If I understand this correctly, in C++11 pass-by-value can be as or more efficient than pass-by-refe...
[6 replies] Last: > But if it is an rvalue that isn't a "prvalue" (if I understand this ... (by JLBorges)
need help with looping through array
 
Hey, I am having trouble with a part of a program. I am trying to read data from a file for airplane...
[3 replies] Last: Yea after a bit I noticed that I had c when I should have had c , not... (by footballfan123)
Character string
 
In the K & R book it states this: " Consider printing a number as a character string. As we menti...
[1 reply] : As we mentioned before (by ne555)
Problems with binary predicates!
 
Please have a look at the following.
[7 replies] Last: > Are those two pairs of braces synonymous with the empty string ("") ... (by JLBorges)
Pages: 1... 34567... 18
  Archived months: [jul2015]

Cannot post in this page. To post a new message, go to the first page.