General C++ Programming - March 2012 (Page 5)

coding help I'm a epic noob !! lol
 
Only part of the code that doesn't work, Trying to get this part of coding to accept one decimal e.g...
[2 replies] Last: No i'm checking for decimal points which is the dot "." anything wit... (by code builder)
help with messy SetWindowText
 
hi im trying to change a windows text from a dll that is injected to a program. what this dose is w...
[6 replies] Last: Sorry, my mistake. You call it, but you must check for NULL. char b... (by kbw)
Brute-force attack TLS encryption
 
I can't find the solution through google: Question: In the worst-case, how long would it take to...
[1 reply] : You multiply the number of possible keys with the time to test one key... (by Peter87)
What's the difference between copy and uninitialized_copy?
 
//What's the difference between copy and uninitialized_copy? ////Why can't I replace uninitializ...
[3 replies] Last: You can and should replace uninitialized_copy with copy in this partic... (by cire)
Reading strings in from a text file
 
Hi all, I'm new to C++ and I've playing around with some code but have come up with a problem. I h...
[1 reply] : can i no the exact output u want. if u want to read the file, line by... (by Ebenezer justin)
Help!!
 
I got this question Write a C++ program such that its execution will keep asking the user to enter...
[no replies]
How to read in text file
 
writing a program where i have to read in grade and credit hour values to calculate gpa. this is ...
[6 replies] Last: try this.... while(!infile.eof() ) { if( grade !=-1) { ....... ......... (by Ebenezer justin)
Boost regex troubles
 
Hi, this is the brute-force decrypt function I wrote, but it's not really working properly. I just n...
[2 replies] Last: Hi, I actually started off w/o spaces... (by closed account 4ET0pfjN)
Boost Regex library
 
Hi, does anyone know how to use Boost Regex library for C++? I need some basic lessons, so any would...
[4 replies] Last: thanks (by closed account 4ET0pfjN)
Date / Time Classes.
 
I need to find the best time class to use with a program that works with a date/time number in the f...
[5 replies] Last: Does anyone know how to import this through a DLL? I suppose it would... (by mcertini)
vector to output file?
 
I am unfamiliar with vectors but I still decided to use them in my project. I am trying to output...
[6 replies] Last: aha! thank you! (by noonmoon)
Recursive delete function errors
 
template<class _TYPE, class _VAL_TYPE> bbst<_TYPE, _VAL_TYPE>::~bbst () { if (this->left != nullpt...
[10 replies] Last: You have not seen the code yet and it does work I have been testing it... (by GFreak45)
Metroworks Codewarrior C++
 
Can someone point me in the direction of obtaining a C++ compiler by Metroworks Codewarrior (whether...
[3 replies] Last: @Moschops. that would be extremely appreciated! please post. i'm curi... (by psycho342)
neverending Error!
 
Error code: 1>------ Build started: Project: Game1, Configuration: Debug Win32 ------ 1> Main.cpp...
[2 replies] Last: cout<<Player1::level<<endl; -> cout << player.level << endl; And st... (by GFreak45)
Getting a crazy number??
 
Why doesnt this work? The problem lies where i declare answer3. When i build and run this it gives m...
[5 replies] Last: Correct, C++ reads left to right and top to bottom just like a person ... (by Hippogriff)
by obdo
2d arrays using dynamic memory
 
Hey, I'm trying to make 2d arrays using dynamic memory in c++. I have been looking up ways to do ...
[7 replies] Last: This is no problem, you can use reserve() to make the vector big enoug... (by closed account o1vk4iN6)
error LNK2001
 
1>------ Build started: Project: Game1, Configuration: Debug Win32 ------ 1> Main.cpp 1>Main.obj ...
[16 replies] Last: dont list to what stewbond said, hes wrong, what he said would be righ... (by GFreak45)
STL algorithms
 
I know that the STL includes algorithms for sorting containers as well as the ADTs for the container...
[3 replies] Last: I don't understand your question. You want to know how to sort (sortin... (by ne555)
Error C2660
 
it says 'battlepahse' : function does not take 0 arguements. #include <iostream> #include <stri...
[3 replies] Last: So presumably this is what your main function now looks like: int ma... (by Moschops)
Overloading the Assignment Operator in Derived Classes
 
Hey, can someone please help me out here in understanding the syntax behind a derived overloaded ass...
[4 replies] Last: That makes sense, thanks! (by poisontree)
March 2012 Pages: 1... 34567... 49
  Archived months: [feb2012] [apr2012]

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