General C++ Programming - May 2012 (Page 33)

getnewpacket
 
Hello This is a piece of code from serial communication. It gets data from the usb and returns t...
[4 replies] Last: Line 57 is the problem. You got memmove wrong. Look at this: http://w... (by coder777)
Problem with operator overloading
 
Hi I have two classes, a Rotation and a Vector (my custom classes, not the standard Vector class). ...
[10 replies] Last: Thanks a lot! I'll try to learn more about it so I can use it properly... (by STTrife)
by tw3tye
Delta time calculation problem
 
Hello. Curnently last few hours im readin the "Delta Time". Im trying to use so called "Fixed Time S...
[no replies]
by boaz
Please need ur help
 
I have done most of my Homework --- but i need to finish it by today.. and i dont get few of the stu...
[2 replies] Last: anyone??? (by boaz)
2 or more
 
Hello I got this code witch seperates a piece of the inputted data string and ignores a part (in ...
[6 replies] Last: You question is a bit unclear. Are you wanting to strip out all repea... (by andywestken)
Help organizing these strings?
 
So I have a file that I'm reading from that follows a format: Joe Steve 101 Bob Jeff 231 Ashley Sam...
[1 reply] : Use a map. std::map <string, int> container; container["Job Steve"] ... (by Telion)
General Code modifying
 
Well, im new but im trying to see how to modify and advance some 7yr old codes for socom 2. i wanna ...
[1 reply] : I have no idea what your actual question is, and unless we have a psyc... (by hanst99)
header files problem
 
#ifndef POLICE_H #define POLICE #include <iostream> #include <cstring> #include <string> #incl...
[6 replies] Last: What viliml said is correct, I overlooked that (answering from my phon... (by clanmjc)
Lightweight Pixel Library c/c++
 
Does anyone know of a good lightweight raw pixel library? What I'm looking for is that I can simply ...
[no replies]
c++ linked list class
 
Hi guys i cant find a search functin for a linked list that searches a linked list for a name that...
[2 replies] Last: look bro thats my code my problem in find ""compare serchedname with n... (by thewarrior2)
Something about global/local variables and stuff.
 
I can't really think of a way to describe what I need to do, so I'll just post code. The program I m...
[4 replies] Last: Thanks, that worked. (by ben1996123)
Undefined reference to a class? Why wont it compile
 
Here's my error /tmp/cc0I08xG.o: In function `main': diceGame.cpp:(.text+0x192): undefined ref...
[1 reply] : You didn't implement ShortSword(void) . (by closed account zvRX92yv)
HELP WITH SWAP FUNTION
 
Does anyone know how to write the swap function in C++ but using references to pointers instead of p...
[2 replies] Last: template <typename T> void swap(T*& a, T*&b) { T* temp=a; ... (by viliml)
"->" and "."?
 
whats the difference between the two? i know both are used to acces members of an object, but when ...
[4 replies] Last: yes, i already understood that part from the first reply. i simply ask... (by even821)
input file not opening?
 
Okay, I've never really had a problem with anything like this before, but I can't seem to get my inp...
[1 reply] : I don't know if it's a problem but you could try using a path without ... (by Peter87)
Huge flaw in quickSort implementation of mine. Please help!
 
Hi Forum, I am trying to implement quickSort algorithm. The program works fine and sorts the ar...
[4 replies] Last: Thanks cire. That helps :) You are right. I wasn't actually keeping tr... (by incognito)
queries about find_first_not_of and find_first_of member functions
 
Hi, I am trying to tokenize a string of numbers. I made the program run with some combinations and ...
[no replies]
by Cylab
bits of all types of files(txt,mp3,gpn etc)
 
Dear all. please kindly but freely provide of your ideas and thought about following. I need to...
[1 reply] : #include <iostream> #include <fstream> #include <iterator> #include <... (by JLBorges)
Twitter Console App
 
Hey everyone. I've been working on quite an interesting project this week. I decided to do a twitter...
[1 reply] : for the username I'd advice MySQL, it's simple to use abd does what yo... (by tofiffe)
C function pointers vs C++ templates
 
which one is the most efficient and recommended practice when implementing an Observer pattern ??
[1 reply] : The polymorphic call wrapper std::function<> gives the maximum amoun... (by JLBorges)
May 2012 Pages: 1... 3132333435... 41
  Archived months: [apr2012] [jun2012]

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