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

Search strings with regex
 
I have a txt file called test.txt I want to take user input from cmd line and search this text fi...
[no replies]
Taking a .txt file and editing another .txt file
 
I have to use structs and arrays for this to work. I have made a function to get data, another funct...
[1 reply] : It would be better if you posted the code here. There's not much valu... (by kbw)
Quadruple precision float
 
Greetings, my current projects requires high-precision numbers. My calculations indicate that dou...
[1 reply] : I can't see any reason why MPFR would not be portable. This list of c... (by kbw)
Errors overloading "<<" and ">>" functions...
 
Doing a program for adding, subtracting, multiplying, and comparing two complex numbers and printing...
[2 replies] Last: class ComplexNumber { public: ComplexNumber(); //Default construct... (by ayanda83)
HELP!!!! Error c. 2062
 
Hey! I have a program due tomorrow and I have been searching everywhere to find out how to fix this ...
[11 replies] Last: Thank you for you help. I was actually able to find all of those befor... (by Spikes6669)
Trouble with binary files
 
HI, I'm using AES encryption. The encrypted text is then saved into a binary file. And elsewhere,...
[9 replies] Last: That worked out. Thanks! (by JulianRoss)
by abhi89
NO ERROR but still doesnt works !! file mode open issue !!
 
ON compilation it shows no error but it doesnt runs !! #include <stdio.h> #include <stdlib.h> #in...
[1 reply] : ON compilation it shows no error but it doesnt runs !! Perhaps you ... (by cire)
Deleting item from array
 
Hi everyone, im programing an agenda in c++ but im having a little trouble erasing an entry. Sorry t...
[3 replies] Last: There's no new or delete statement in that code. Without knowing how ... (by cire)
by Mannah
String Tokenization!!!!!! URGENT!!!
 
Hii this is my String tokenization code......when i debug..it shows badptr ...PLZZ i need help as th...
[11 replies] Last: You didn't do anything on that atoi() problem. Or is your problem solv... (by coder777)
by Bhmu
After Deleting the Object I dont see memory freeing
 
Hello All, I am using VC++, I have created objects of a class and i am taking care to delete afte...
[7 replies] Last: GFreak, what you say there is correct, but if you're using it to justi... (by cire)
find a number from a given .txt
 
hello everyone i have been having problems with this. i need to develop a program to check if the e...
[3 replies] Last: some one please reply to this thread .. m sure its easy ..hhttp://www... (by abhi89)
by jae
C++ Textwist Project brainfreeze
 
hello everyone Heres the summary of my project. I am given 2 .txt lists. The first is a list of 6...
[no replies]
Is traversing through an unordered_map O(n)?
 
Is traversing through an unordered_map with an iterator O(n)? I am not sure that this operation i...
[no replies]
array given numbers
 
i need to develop a program to check if the entered Number is in the prerecorded data file. the Da...
[5 replies] Last: thank you so much for all you help Stewbond (948) .. i really really a... (by j0semigue1)
Trouble with Functions
 
Ok so im sure im doing something stupid :D i have a function: int wordFunc(string a){ std...
[2 replies] Last: Yea i was just coming back to post about the infinate loop - knew it w... (by hazyumps)
Help!!!
 
Write a function named allMutipleFive which has two input parameters: number(represents an integer a...
[2 replies] Last: This question is very easy. int allMutipleFive (int number , int size)... (by w397090770)
A fix for wxWidget
 
If you are using wxWidget for CodeBlocks and you keep on getting errors like strdup not defined and...
[no replies]
DarkGDK for MS Express
 
I want to use the DarkGDK library to write a game, as it is easy to use (compared to GLUT) and effec...
[no replies]
Taking the following formula, is my code consistant?
 
sin(x) = x - (x^3)/3! + (x^5)/5! + ... + (-1)^i*(x^(2*i+1))/(2*i+1)! for(;prec<10;++pre...
[1 reply] : http://cplusplus.com/forum/general/65838/ Gotta learn to debug your o... (by closed account o1vk4iN6)
by htown
Rotate Right
 
How would you create a rotate right function with >> or << ? Ex: 0111 = 7 1011 = 11 1101 = 13 1...
[3 replies] Last: Consider rotate right by one: given: 1010 LSB is 0: 101 0 shift righ... (by Duthomhas)
March 2012 Pages: 12345... 49
  Archived months: [feb2012] [apr2012]

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