Beginners - March 2012 (Page 31)

by irmako
transfer data from string to array
 
hello, I have string or data in text file like this: 001100101 101100111 (3 spaces in the middle)...
[10 replies] Last: I have cut k , it seemed to be solved but when I print arrays the last... (by irmako)
Quick question regarding writing to outfile
 
Hello all, I was just wondering why this function does not write the header to the output file? Th...
[4 replies] Last: I just tested your program. It seems your program is dependent on mac... (by closed account zb0S216C)
Converting over from Ortho to Frustum
 
I have always used Ortho projection for my OpenGL programs. But half-way through my current project ...
[1 reply] : In your case, switching the words glOrtho and glFrustum isn't good... (by shacktar)
by Brianx
adding header file in existing win32 library.
 
Hi All, I have an existing win32 class library. For some recent changes in my project i want to inc...
[2 replies] Last: You only need to add YOUR OWN headers to project, not the ones that ca... (by modoran)
by Brianx
Iterate over vector
 
Hi Guys, Can anyone let me know how to iterate over the data from the class MainProduct //This ...
[3 replies] Last: wow man! thats cool idea. Thanks a ton for this suggestion. I was also... (by Brianx)
by y4n
Velocity app.
 
I have a code shown like this... #include <iostream> #include <conio.h> #include <math.h> #...
[2 replies] Last: thanks vin! You really just make my night :-)! (by y4n)
Hello World Tutorial
 
http://www.youtube.com/watch?v=j07ZdpXeukA&feature=plcp&context=C47f6108VDvjVQa1PpcFMWpNGjaylAlrtd0Q...
[no replies]
Need list of functions, methods and variables.
 
I'm going into an contest for programming, but as I am still new to programming, I need all the help...
[5 replies] Last: Can't think of anything else to ask for, so I set this as solved. (by Lars Erik Grambo)
A little help in arrays.
 
Hello, I want to ask if this statement is correct to test a specified index. My program is about com...
[2 replies] Last: thank you stewbond :) (by takedrifttt)
Suggest me reference
 
i am new in c++ , have done coding in
[1 reply] : Here's a good reference: http://cplusplus.com/reference/ And here's a... (by Stewbond)
simple data file
 
Hi all, The following is a code for solving the harmonic oscillator with the Euler Method. My probl...
[10 replies] Last: Oh, OK, I get it. (by HomesickAlien)
compare two words
 
Hi all, I am currently trying to compare two words. Example : String1 = "BAAA", String2 = "AA". W...
[2 replies] Last: @Texan40 : I see, thanks a lot for the reply :) (by c beginner)
problem with loop
 
hi everyone, i'm writing a demo program to teach myself how to use arrays of classes, but i'm hav...
[no replies]
Create a "cout" equivalent for OpenGL in C++
 
I am trying to make an equivalent of a printf() implementation so that OpenGL will print in the lowe...
[2 replies] Last: Thank you so much, that worked perfectly! And yes, for some reason glC... (by Sean Booth)
by zeion
Is it possible to concatenate two vectors then sort the elements by an object variable of each element in the vector?
 
Hi, So I guess this is two fold: How do I merge two vectors? Then: How do I sort vector elem...
[5 replies] Last: > How do I merge two vectors? > How do I sort vector elements by one o... (by JLBorges)
template classes
 
hey guys i'm new at programming. i have a hw about template classes but i can't write the complete p...
[1 reply] : This should help: http://www.cplusplus.com/doc/tutorial/templates/ (by shacktar)
OpenGL?
 
I'm not sure if I can post this here or not, but... What I'm trying to do is every time the space...
[1 reply] : if( key==' ') mode = (mode+1)%qty; You may want to use an enum for... (by ne555)
Type inference when passing overloaded functions
 
From page 104 of Accelerated C++: There is a function call find_if(i, str.end(), g) The funct...
[8 replies] Last: ne555 thanks. if the prototype were namespace test{ template<class... (by DexterMorgan)
for loop problem~!
 
/* 4-40 for Automobiles Use a forloop to get the information about each of a person’s auto...
[18 replies] Last: make a struct... or make them vectors ... i believe i did that already... (by Subzero030201)
by jorz
char *result memory allocation
 
Hi All, Thank you for taking time to read my post. I create a variable const char* result; and I...
[no replies]
March 2012 Pages: 1... 2930313233... 71
  Archived months: [feb2012] [apr2012]

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