General C++ Programming - April 2012 (Page 38)

by shaggy
c++ (SDL) vector issue
 
hey guys im making a shooter in c++, SDL and openGL. I have been trying for 2 hours and cannot fi...
[no replies]
statement list (STL)
 
I'm electrical technician. I work more with Siemens simatic s7, I use ladder logic but I wanted to...
[1 reply] : What's a "statement list" when it's at home? Wazzak ... (by closed account zb0S216C)
trouble with class
 
hi, my teacher asked us to make a todo list project and to save the list of todo items we are suppo...
[2 replies] Last: todoitem.cpp #include "todoitem.h" TodoItem::TodoItem(string newText... (by biamigueis)
How to get an integer from a string?
 
Hi, If I have a string input such as "A1", How do I split the string so I can have a string variable...
[1 reply] : http://cplusplus.com/reference/string/string/substr/ http://cplusplus.... (by R0mai)
by ravs
File system polling
 
Hi, I have to pick the files(hundreds)individually and have to edit them. All the files will be i...
[2 replies] Last: Hi, Thanks for the reply. Its on Windows OS. I just need to poll for ... (by ravs)
string::find() skips parts of string?.....
 
Does string::find() skip parts of a string inclosed in quotation marks? void keyfind(string phra...
[2 replies] Last: Thanks. yea im suppose to be doing this in python but I'm just doing ... (by blueberry)
Using STL List to create a "sorted bag"
 
Hey guys, I'm new around here. I'm a student at U of Colorado and I am studying Computer Science. ...
[1 reply] : The compiler is complaining about those friend functions rightfully. S... (by Cubbi)
by cozmy
string function
 
Hello everybody. I have a quick question. I have this function that reads a line of string. And it ...
[1 reply] : cin.clear() clears all error flags that may be set on cin (that may be... (by hanst99)
Saving VS project
 
I am using Visual Studio 2010. I would like to save the .h, and two .cpp files for my project to the...
[1 reply] : Well... File -> Save Solution (or Project, dunno atm) done. (by hanst99)
by lql44
Which Library to include?
 
Hi Guys, If I want to use a certain method, But not sure about which library i have to include, wh...
[1 reply] : Well, if you're talking about the standard library and mean header t... (by hanst99)
by mrmike
cURL Troubles
 
I'm working off of a slightly modified version of the class found at http://www.zedwood.com/article/...
[no replies]
connect the dots
 
I am working on a program using darkGDK that is to allow the user to click points on the screen and ...
[2 replies] Last: well i thought that it was fairly specific, the mouse movement is bein... (by ironreaper)
by won212
I have 102 Errors for this priority queue
 
I have 102 Errors, may i know why it is this case? :O Any solution to this? #include<stdio.h> ...
[8 replies] Last: hi bluecoder, and now, i debug your code, I get the same 100++ syntax ... (by won212)
How to repeat code using this for loop?
 
Hey all I'm trying to draw a quad every time I find a .obj file in a folder except it only draws the...
[3 replies] Last: I suggest you take lines 68-120 and put them in a function void drawQ... (by hamsterman)
Problems with Collission
 
I am working on a project at University, Am trying to check if a ball and a rectangle collides and ...
[1 reply] : you've put at the line: "xdelta=-xdelta;//de-increment balls coorderat... (by russellc92)
C++ problem
 
Hello,i'm kinda new here and i had to make a double linked list ( i think thats the english name) in...
[8 replies] Last: Oh nevermind i fixed it. I put : Lista & Lista::operator= (const... (by Adryanmh)
How to check if two template parameters are the same?
 
Hi all, suppose i have a template class: template<typename T> my_class{...}; and a template func...
[3 replies] Last: namespace home_grown { struct true_type {} ; struct false_typ... (by JLBorges)
WHAT IS A BIT MASK?
 
Hi there, i just need to know what bit masking is and what purpose does it serve?
[1 reply] : http://en.wikipedia.org/wiki/Mask_(computing) (by Null)
by K33p3r
How to simulate an Erlang(k) variable using C++
 
Good day, I have a college project in which I need to create a program which simulates an Erlang ...
[5 replies] Last: Thanks again for clarifying. (by K33p3r)
class student
 
pls am havin trouble trying to write a program on inheritance about class student. pls aw do i go ab...
[2 replies] Last: Student ^ Special Student ^ TS (by IceThatJaw)
April 2012 Pages: 1... 3637383940... 49
  Archived months: [mar2012] [may2012]

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