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

Is it possible to code any C multi-threaded program in C++?
 
I know that C++ is basically 100% backwards compatible with C as long as the correct libraries are l...
[8 replies] Last: You can abstract the use of C++ behind a C API. I do it all the time w... (by closed account S6k9GNh0)
I need help with a really really simple code ...
 
Im a little "noob" in c ... But a rather simple code is breaking my mind... #include <stdio.h> ...
[4 replies] Last: the problem is when i execute the file ... The elements of the array "... (by Izzy Me)
Could Use Some Help Here With My Code
 
Im getting Initilizer Expression list treated as compound expression Whats gone wrong? #inclu...
[3 replies] Last: Please, use a compiler other than the out-of-date MinGW compiler that ... (by closed account zb0S216C)
difference of cout and myfile
 
i have this code.. #include <iostream> #include <fstream> #include <string> main() { ost...
[3 replies] Last: yes (by hamsterman)
Why won't this Calculation Work?
 
Hi, I'm fairly new to programming, and this is my first piece of code beyond drawing pretty pattern...
[4 replies] Last: Thanks I have it now, it was the K . (by Beth Hill)
Binding arrays
 
Hello everyone, I'm writing a simple electrical circuit simulator and came across some logic I ju...
[4 replies] Last: I was doing it with qsort. Thank you all for the replies, I'll try ou... (by Rotunnoz)
Use a file as input the same way the consule is used
 
Hello, is there some way I can take a txt file and have it wait for user input. This would work the ...
[1 reply] : // open the file std::ofstream file( "file_name" ) ; // write the li... (by JLBorges)
Crash after MessageBox!!!
 
I was trying to make a simple ansi to unicode and vice versa conversation but i encounter problem bu...
[2 replies] Last: Thanks kbw, working fine now :) (by StoneHeart)
by JnrGD
Unable to load DLL
 
I made a recent post about not being able to load my C++ DLL in a C# application, now having tried t...
[4 replies] Last: @ OP: To answer your other question no, programs will not share instan... (by Computergeek01)
array re-arrange
 
s exam t ______ u |1000 ...
[2 replies] Last: for(int chr=0; chr<numChr; chr++) { for( int p=0;... (by chrisagr)
Arrays
 
multiply all elements in an array by every but the corresponding element in another array. Without d...
[5 replies] Last: Here is the complete test program written in MS VC++ 2010 #include... (by vlad from moscow)
by duffer
How to make this program? Please provide full code.
 
Write a program which asks the user for a series of integers. The program first prints out all the i...
[13 replies] Last: Of course most people will try to get it done for free in a forum lik... (by Gaminic)
by hitlar
Why void * return class address instead of actual value address
 
////////////// Set.h ////////// class Set { public: void *set_elements; int area; Set(...
[2 replies] Last: A problem is that in the Set constructor you assign set_elements an ad... (by hamsterman)
multiple character if command
 
So I am trying to write a program for thread callouts where you enter the thread for example "1/4-20...
[1 reply] : Use std::string #include <string> ... string str; cin >> str;//or... (by hamsterman)
by sjahf7
calling an overloaded function in a template?
 
so I have to use a template for a homework assignment that calls an overloaded function, i have one ...
[5 replies] Last: Maybe helps you http://surprising-code.blogspot.com/2012/02/specializ... (by Aikon)
by Aikon
Pointers to Member Functions
 
Hello everybody, I posted it many topics and I'm sorry if someone think that I'm abusing but I re...
[3 replies] Last: Updated! (by Aikon)
by jim744
Help on Doubly Linked List
 
I need help with the operator =. It compiles fine but when I test it the member variables don't come...
[3 replies] Last: In your assignment '=', I don't see you return the reference to the ne... (by Azagaros)
Linked List
 
I'm having trouble with my Linked List. For some reason my sort function will not work. I was able t...
[5 replies] Last: where is the error at push_back()? it seems to work fine i traced you... (by intmain311)
by idks16
while loop not working
 
this is the problem: You have just purchased a stereo system that costs $1000 on the following credi...
[5 replies] Last: thanks!! it worked :) (by idks16)
c++ countdown number game solver
 
Hello, I have been programming simple things for some time now and now i want to try something abit ...
[3 replies] Last: Can you explain what you mean by brute force - what is the algorithm y... (by kev82)
March 2012 Pages: 1... 46474849
  Archived months: [feb2012] [apr2012]

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