Beginners - July 2011 (Page 19)

Exe communication
 
How do I get two .exe two communicate by sending value to each other?
[1 reply] : This might be of help: http://en.wikipedia.org/wiki/Inter-process_comm... (by Galik)
by codrgi
descending order
 
i am collecting data from a database and sorting them into an array, but need to sort that array into descending order, below is what the code is int array_...
[5 replies] Last: That is an excellent question,. there probably is a better implementat... (by creekist)
How to go make players take turns
 
This piece of code should wait for a click, get the coordinates of the click, and the send the coordinates to a function. Then is should wait for another click,...
[3 replies] Last: Instead i just made seperare functions to handle each players turn :/... (by Athar)
Counter Problem
 
I want a line gap every 25 numbers printed, what I've written is being ignored. I'd like to know why. #include <iostream> using namespace std; int mai...
[17 replies] Last: Well there we go again. K nvm. Lawl (by creekist)
C++ DATABASE CONNECTION
 
Hi Big Guyz, Please somebody should please tell me how to connect an sql database to c++ program. Thanks.
[2 replies] Last: Thanks, i will try to see the outcome, what ever the case will be i wi... (by Lucky D)
Comparing Arrays - for loop issue?
 
Hi there, This is my first post and thanks for taking a look. So let's dive in.... I am comparing two arrays to see if the student matches the answers ...
[2 replies] Last: aha! that helped and then i was able to take out the extra for loop in... (by NativeNeo)
overwrite
 
My program works for cout, but when I want to overwrite to the file I originally opened, nothing happens. I don't want to use append, just overwrite. I basicall...
[16 replies] Last: do I feel dumb.. I wasn't required to do fout this whole time! fail... (by xXmusicmanXx)
by vlad61
Bracketing search
 
Hey guys - i just finished finally the http://www.cplusplus.com/forum/articles/12974/ bracketing search problem with all stars (BTW does writing html code he...
[1 reply] : nice work dude (by creekist)
Swap function using template
 
I am getting an error "ambiguous call to overloaded function" . Can someone please explain why? #include <iostream> #include <string> using namespace std;...
[2 replies] Last: Thank you. (by nickbegin)
What does Virtual in the derived class signify?
 
Hi All, I have a base class A which is overriddedn by B, C and D. Now, I have a virtual method something() in A. And this has been declared as virtual in B,...
[6 replies] Last: Good advice. That is nice to know. (by NewProgrammer)
need some Code help please
 
I need help writing a loop function. I need to use a while loop to find the smallest integer (n) so that n*2 > 12,000. (n*2 is exponential (pow function)) e...
[3 replies] Last: Reading the first few pages of your C++ book will tell you all you nee... (by Athar)
Variable gets set to random number?
 
The function is suppose to take the currentState and nextState , delete currentState , set currentState to a new thing depending on what nextState was, ...
[9 replies] Last: By passing nextState by value and by setting the new state on the new... (by nano511)
C++ counterpart to keyword DATA
 
Way back in the day, I utilized the DATA keyword in BASIC environments to perform specific tasks. I have a book that is not currently at this location that sho...
[9 replies] Last: Acorn started the suggestion of the struct, and muratagenc nailed it w... (by micpayne)
Storing data members in a dll
 
Hello, So I am now good with creating functions and exporting them in a DLL, now what I would like to do is have data members that reside inside the DLL so i...
[5 replies] Last: perfect! exactly what I was looking for! (completely new to this s... (by machine617)
by jayden
Can C++ use to create a bitmap?
 
Hi all, I have to create a bitmap image and thought of doing it in c++. The bitmap will be having a 10x10 pixel where i can assign a 1 or 0 to a particular p...
[10 replies] Last: this post saved me a lot of trouble, thanks a lot! (was about to give ... (by Fonixza)
Input Problem
 
Hi there, I'm learning C++ and I've only recently started, and learning by online tutorials, videos etc. I'm currently trying to learn how to use a Switch ca...
[15 replies] Last: Thanks Grey (by eaxx)
Having problems in scanning the array.
 
Good day guys, im having a problem on how to scan the multidimensional array.. i have a matrix ; how do i scan the matrix and find the lowest number in t...
[5 replies] Last: guys.. its okay i figured it out!! ^____^ thanks.. for your help, god ... (by marklycris05)
Maps - Where "keys" and "values" are the same
 
Hi everyone, In what applications would it make sense for the key and value in a map to be the same?
[2 replies] Last: I thought as much. In my textbook, "Data Structures and Algorithms in... (by NewProgrammer)
by yts
Stack
 
#include <iostream> #include <stdexcept> // for exception #include <string> #include <cstddef> // for NULL #include <new> // for bad_alloc #incl...
[3 replies] Last: This seems a little advance, but what would I know. I'm just starting ... (by eaxx)
Hi I'm here to ask some C++ programming question
 
I get these question recently from my friend, and I only managed to do two of them ,so I would like to discuss the way to do it in C++ .(some question making me...
[6 replies] Last: For 4 you need an array of strings. Since strings can be plain arrays ... (by hamsterman)
July 2011 Pages: 1... 1718192021... 54
  Archived months: [jun2011] [aug2011]

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