General C++ Programming - May 2013 (Page 11)

Weird Strtok Issue
 
int search(char* keyw) { char* tkn; int tokCnt=0; unsigned char* result...
[6 replies] Last: Thank you. I don't know much about C++, but you have given me good adv... (by knowNothing)
C++ Assistance
 
Hello all, I am working on a project and am having a bit of an issue with one of the requirements. ...
[3 replies] Last: If function is bool, if something goes wrong, such as, more than 6 cha... (by greenleaf800073)
by RyanV
Binary Search Tree: Insert Function Not Working
 
I am working on programming a binary search tree. The problem that I am having is that my root no...
[no replies]
Segmentation Fault ostream overload
 
Hello everyone, I' ve seen post on this topic before, but this is a liiiitle different. So the...
[no replies]
by LunarB
C++ Winsock2 & pthreads: Accepting multiple clients?
 
Hey! So I'm still having troubles connecting multiple clients to my server. To break down what I ...
[10 replies] Last: How would I use that to accept multiple clients, though? My problem is... (by LunarB)
moving elemnts in an array and displaying
 
This is for a class project. I am having trouble "pulling out" the last element in my array, shiftin...
[3 replies] Last: Big thanks to both of you. this was very helpful. (by theswellylife)
strcat and char initialized with "" (1,2)
 
Hi, I have a function simplified like this: int main() { char skipped = ""; static c...
[24 replies] Last: Thanks, Yes, then there are habits about the prefix in increment... st... (by philonto)
I need to stop this
 
#include <allegro.h> #include <cmath> void init(); void deinit(); int main() { init(); ...
[2 replies] Last: key and KEY_ESC aren't defined anywhere. I'm assuming its defined... (by AdrianH)
Function pointers
 
Hey, can somebody provide me with good references to study Function Pointers? Any Books or website ...
[3 replies] Last: Mark question as answered. (by AdrianH)
by Zoo
Template class problem
 
Hi. I have encountered a problem with template class. I have made a template class that converts a...
[2 replies] Last: // If it's possible to convert the string to T if ( is >> ret... (by AdrianH)
Overloaded file
 
I used fstream and opened and closed files. I did this so much I overloaded the function. I have man...
[6 replies] Last: Tried my 2nd compiler and it worked. Thnx everyone. (by closed account NUj6URfi)
Software Engineering
 
I'm into my sophomore year of my computer science degree. I want to get into the career of software ...
[3 replies] Last: Well they're not very many colleges that offer the major and none of t... (by Westonrwright)
class attribute read-only issue
 
My header file: #ifndef OBJECT_H #define OBJECT_H #include <vector> using namespace std; cla...
[3 replies] Last: By changing, you mean through the Object::update(Object) method? Beca... (by AdrianH)
algorithm complexity?
 
Hi would like to know that my algorithm has asymptotic complexity recursive? regards cronos int s...
[1 reply] : This might help you: http://www.cs.duke.edu/~ola/ap/recurrence.html (by AdrianH)
How to put string content into source code?
 
I'm trying to write a program that prompts the user to enter a math expression (i.e 2*x + x*x) and a...
[4 replies] Last: If we're talking about evaluating a mathematical expression, then I'd... (by andywestken)
Need help with taylor series assignment!
 
Hey guys I'm having trouble with this assignment for class, can someone please help me out? The assi...
[1 reply] : Please note, that it is not a homework site. We won't do your homework... (by MiiNiPaa)
initializer_list in VS 2012
 
Hi all, I use Visual Studio 2012 Ultimate as my IDE, and it's great to work with, but I more and mo...
[9 replies] Last: I noticed. Well, I'll just use C::B. (by Fransje)
by kienme
Comparing words with contents of a text file
 
Hi there, I need a little help with my project. I want the user to enter the word and I want to che...
[6 replies] Last: Ah! That's done the trick. Thanks a ton :) (by kienme)
how to convert pixel to [-1..1] coordinate in opengl
 
hi how can i convert pixel to [-1..1]coordinate in opengl? witch function? i want to write a prog...
[4 replies] Last: thanks so much (by foozhan)
A safty issue regarding shared_ptr
 
Hi everyone, I have a base class A and a derived class B: class A {...}; class B : public ...
[4 replies] Last: Prefer using std::make_shared() over new I didn't even know this ex... (by mutexe)
May 2013 Pages: 1... 910111213... 47
  Archived months: [apr2013] [jun2013]

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