
please wait
by DELB
What's wrong with my code? Tic Tac Toe
|
// Tic Tac Toe.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <iostream> #include <string> #include <vector>... |
Feb 4, 2013 at 6:40pm
[16 replies] Last: No problem! Glad you understand it! (: (by Lynx876)
|
Cannot figure out why I'm getting an error |
This is supposed to prompt the user to enter sales for each month and then calculate yearly totals, then finally a total sales figure. I have only done the fir... |
Feb 4, 2013 at 6:24pm
[3 replies] Last: Thanks to both of you. That should have been obvious, but we learn fr... (by egg management fee)
|
by xsemel
sine functions wont compile
|
Any idea why this won't compile guys. I can't see why it wont work. #include <iostream> #include <cmath> using namespace std; #define pi 3.141592654; ... |
Feb 4, 2013 at 6:09pm
[9 replies] Last: oh yeah and just so ya know, xsemel, chervil reminded me of somethin i... (by cPlusN00b)
|
by Gamer Freak
Newbie Problem
|
Don't make fun! http://gyazo.com/fefac0b392b36744d7d159d8e36209a9 #include <iostream> using namespace std; int main() { cout << "Hello World!" << endl; r... |
Feb 4, 2013 at 5:56pm
[4 replies] Last: Resolved, thanks you two! (by Gamer Freak)
|
by send
How make binary tree with this code
|
#include <iostream> #include <cstdio> #include <cstdlib> #include <cmath> using namespace std; struct node // the tree node { int key; unsigne... |
Feb 4, 2013 at 5:31pm
[1 reply] : #include <iostream> #include <cstdio> #include <cstdlib> #include <cma... (by send)
|
by mindheavy
need to return more than one value? (1,2)
|
This function is in a separate .cpp source file from main.cpp. I'd like to have this function output the 5 values of change . Is this possible? For testing p... |
Feb 4, 2013 at 5:27pm
[21 replies] Last: great thanks cherv! I will not be so scared to use new from now on :3 (by cPlusN00b)
|
Gaussian Primes > is_prime function |
Hi. I'm having some trouble modifying an is_prime() function to accept only Gaussian primes. The three conditions I need to incorporate (for a+bi) are: (... |
Feb 4, 2013 at 5:04pm
[1 reply] : > I'm having some trouble modifying an is_prime() function to accept o... (by JLBorges)
|
by DANNY123
poblem with the swap()
|
the problem: type in seven numbers, make a program to list it from the smallset one to the biggest one |
Feb 4, 2013 at 4:30pm
[1 reply] : the hint: you're not likely to get an answer if you don't at least try... (by cPlusN00b)
|
by Heartly R
Operator Overloading in Class
|
I have taken this code From this website forum. #include <fstream> #include <iostream> #include <sstream> #include <string> #include <vector> using namespace ... |
Feb 4, 2013 at 2:46pm
[5 replies] Last: Instance functions take an additional hidden parameter which is a poin... (by LB)
|
by toseefasim
can any one elaborate the steps with comments
|
//Write a program to copy one string to another string, input the string into the //first string variable and then copy this string to the second string varia... |
Feb 4, 2013 at 12:51pm
[5 replies] Last: Thanks Vlad and Chervil (by toseefasim)
|
by Heartly R
Loading Tab delimited File in 2D vector string
|
Hi, This is my code to Read Tab delimited data from file and Load it into a 2D vector String vector <vector <string> > indexTable; int rowIndex,fieldIndex,row... |
Feb 4, 2013 at 11:23am
[3 replies] Last: My 2D vector got collapsing after reaching this statement. indexTable... (by Heartly R)
|
by zxcvbnm123
sorting list to ascending and descending order
|
i have tried 2 methods but didnt work for me. they only work if i have input element before i run the program. for my program it only gets the elements when i r... |
Feb 4, 2013 at 11:22am
[4 replies] Last: i can do it with predefined element in my list of structure. but my pr... (by zxcvbnm123)
|
by ofey
What does cin return?
|
I have just started reading a popular book by Skiena and was solving problems at the end of chapter 1. The description of input was: INPUT The input will c... |
Feb 4, 2013 at 10:45am
[2 replies] Last: Can I use the following to check for end of input? while(cin>>num1>... (by Catfish3)
|
by tcdnewb
Matrix inversion through EROs
|
Hello, I would appreciate some help with the following, the questions refer to the code below; (i) Change the read matrix() routine so that it reads the di... |
Feb 4, 2013 at 10:37am
[no replies]
|
Resizing Boost matrix class member |
dear all i am building a class and one of its private members must be a matrix whose size is not know at the moment the constructor is invoked but later on d... |
Feb 4, 2013 at 10:06am
[3 replies] Last: Problem solved. I was doing this #ifndef __CHILLER20_H__ #define _... (by littleneutrino)
|
by imgregduh
threading ?
|
im trying to implement a help function that can be called if i type"/help" in the console. this function can be called anytime while the main function is runni... |
Feb 4, 2013 at 9:26am
[10 replies] Last: actually that might work overloading the operator>> , it will save me ... (by imgregduh)
|
by NetCoder
TCP socket Server: Render image on window
|
I'm working on a project and I'm a beginner in VC++. I'm creating a TCP server that will receive a bitmap and will show it on window. The motive is to receive... |
Feb 4, 2013 at 9:13am
[11 replies] Last: I'd suggest using CreateDIBitmap: http://msdn.microsoft.com/en-us/lib... (by coder777)
|
by ocdjg
Issues with coding and compiling class
|
Hi guys. OK I got another class that is giving me issues. This class has more than one constructor and I think that is what is throwing me off. Here is the codi... |
Feb 4, 2013 at 6:20am
[4 replies] Last: Can you provide the error messages? And perhaps I missed something bu... (by randisking)
|
by science man
assigning a pointer to multiple numerical values?
|
I copied this code from a tutorial and got an error. #include <iostream> using namespace std; int main () { int firstvalue, secondvalue; int * mypointer; ... |
Feb 4, 2013 at 6:02am
[6 replies] Last: All this I'm on board with because to me I'm thinking that both varia... (by cire)
|
by mindheavy
use a variable defined in main from another source file?
|
is it possible if I define a variable, say... int oranges = 0; in main.cpp and alter it like: cout << "How many? << endl; cin >> oranges; and have an... |
Feb 4, 2013 at 5:42am
[2 replies] Last: You should either to pass this variable as an argument to the function... (by vlad from moscow)
|