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

by julng
Error on compiling
 
This is my counting words code: #include <iostream> #include <fstream> #include <string> #include <cctype> #include <list> #include <string.h> #incl...
[3 replies] Last: The above also compiles for me on VC++ 2008. A quick google search su... (by rollie)
error C3861: 'cropImage'*: identificateur introuvable
 
Bonjour J'ai un problème lors de l'exécution de mon code qui me me fait sortir ce type d'erreur error C3861: 'cropImage'*: identificateur introuvable Sachan...
[3 replies] Last: #include "Lxxx.h" (by ChaperonRouge)
by nimra
Pointer to a class gets an arguement or am I dumb?
 
Hi everyone, As the title suggest I have a weird problem with the following class and its constructor (and yes it works): class SolverBase { public: ...
[10 replies] Last: Thanks a lot to all I understand the concept now! (by nimra)
Parsing DateTime To a standard format
 
hello all i need the code for the following problem thanks in advance The following are different date-time strings obtained from an application's metadata ...
[1 reply] : We in this forum that do have the knowledge and experience to ASSIST... (by TightCoder)
PLEASE help?
 
so here is the problem: Write a C++ program that prompts the user to enter a first name, middle name, and last name, with each name separated by a space. Dis...
[2 replies] Last: Give us a code example of what you do understand. (by TightCoder)
Synchronization Issue
 
Hello All, I am new to this concept so please help. The issue is below I am executing one batch file using WinExc function in MFC. This is done using the ...
[3 replies] Last: WinExec http://msdn.microsoft.com/en-us/library/windows/desktop/ms687... (by kbw)
PLEASE ASSIST
 
I have a school project to write a recursive function that takes one parameter of type int and it should output integers 1,2,3...n. n being the parameter of the...
[5 replies] Last: No worries, glad I could help. (by MrHutch)
first line
 
Hi Guys! how to get the text from file before any space come suppose i have file and it reads aa this is a bb this is b cc this is c i am only in...
[5 replies] Last: Hi Guys ! Thanks to all of you for your help, i solved it string s... (by menewbie)
Need Replacement!
 
Sorry for the dumb question but is there any replacement code for below code? __try { } __except(EXCEPTION_EXECUTE_HANDLER) { } Tha...
[3 replies] Last: A workaround for what? What problem are you trying to work around? (by Moschops)
Hi, a question about some codes
 
Hi, I am actually making a program of "Music" in which their is a user who simply should have the rights to play music and the Moderator should have all th...
[1 reply] : You'd use void for a function when you don't wish to return a value. ... (by MrHutch)
OpenMP section(s) clarification needed
 
Hi, I have a classic project - the producer/consumer problem. I have to do three versions of this: one which is serial, and the other two using openmp sectio...
[no replies]
How to search a string between given two lines in a file
 
Hi C++ friends I wrote the below C++ code to find the string "aaaa" that is line 12 & is between "hhhh" & "uuuu" stings The function "searchSTRbetweentwoLines...
[5 replies] Last: ifstream may automatically close it in its destructor (can't recall i... (by firedraco)
by selrak
Link problem
 
I have the following problem: There are 3 static libraries, let's call them libA.a, libB.a and libC.a Then I have designed a new static library libD.a, whic...
[no replies]
help to solve this assignment problem
 
I want help to solve this problem. please help me anybody, problem is this You are required to provide a practical prototype in c++ for the following clas...
[1 reply] : Go to this website and hire expert. http://www.liveperson.com/minisoft... (by lhqdung)
by Dwigt
(public) Inheritance in real-world code
 
I'm trying to learn C++ and I've been reading through the C++ FAQ Lite about public inheritance, but I would really like to see some examples. How is this stuff...
[1 reply] : The IOstream library uses inheritance extensively. Everything derives... (by Telion)
C++ Programming
 
Why does the program skip when the user is supposed to enter first name?? #include <iostream> using namespace std; void print_menu(void); int main(...
[8 replies] Last: Change your code in the reply. I need to see the new code so I can fix... (by closed account oN3AqMoL)
Modular vs OOP
 
what are the bad points of Modular programming ? in comparison with oop, what are the advantages of the latter?
[2 replies] Last: great , that is what I want. thanks a lot , buddy (by lukecian)
Perceptron implementation
 
I have tried to implement the perceptron network using the code below: #include<stdio.h> #include<conio.h> main() { signed int x ,tar ; ...
[3 replies] Last: Hmph. I cant figure out the problem, Im a newbie with C code though, I... (by closed account oN3AqMoL)
ignoring
 
Hello I got this code witch takes the 8 first bits a a string and let ingores certain letters (in this case 'f') while((count99 < 8) && (offset99 < cod...
[3 replies] Last: 'Tis be true. Count should have also been initialized to one... How em... (by BlackSheep)
by zzzzzz
Getting error
 
[Linker error] undefined reference to `vtable for Rectangle' [Linker error] undefined reference to `Figure::center()' [Linker error] undefined reference to ...
[1 reply] : I think the problem is you haven't defined any of the methods in your ... (by Whovian)
May 2012 Pages: 1... 3334353637... 41
  Archived months: [apr2012] [jun2012]

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