
please wait
by Newbie12232
Need Help with a tic tac toe program !!!
|
hi guys i need help to program a tic tac toe game with a static board ! Thanks for your help ! We need help to show our board |
Mar 3, 2017 at 6:48pm
[1 reply] : Since you haven't shown any code, we don't know what help to give you.... (by AbstractionAnon)
|
by test1234
a
|
aaa |
Mar 3, 2017 at 6:27pm
[8 replies] Last: You can find more than one solution for the "print diamond" part. Here... (by Enoizat)
|
by yamada
a cpp program for n students having student name and roll number
|
so as the title suggests , I wanted to write a program using structures pointers to enter n students names and roll numbers , so I wrote the program below tha... |
Mar 3, 2017 at 3:17pm
[1 reply] : Your third snippet is closest to being correct. However at line 14 (a... (by AbstractionAnon)
|
by guddu232000
Size Of an Object of Inherited Class
|
Q.What is the size of the object FRIDGE in bytes? class Kitchen_Products { char Model_No , C_Name ; int year; protected : auto fl... |
Mar 3, 2017 at 2:47pm
[1 reply] : It is implementation-defined. eg. Linux, x64, clang++/libc++ 96 bytes... (by JLBorges)
|
by Alex1993
The program jumps one step ahead
|
I have a program that calculates the something bla bla bla and I need the user to input some numbers from the keyboard and when I select the function that does ... |
Mar 3, 2017 at 12:52pm
[1 reply] : You only want it to look like: please insert first number < moo! inco... (by jonnin)
|
by DeKonTiki
Classes and const member functions
|
I have two classes called Point and Triangle. class Point { public: double x; double y; Point(double a, double b): x(a), y(b) { }; class T... |
Mar 3, 2017 at 11:44am
[2 replies] Last: Thank you, that solved the problem. My rotated function in Point class... (by DeKonTiki)
|
by quixdi
Bringing in a file as an array using functions??
|
Homework Question: I'm trying to get a file to open up using a function, going into an array. Then having the possibility of searching for information within t... |
Mar 3, 2017 at 10:41am
[2 replies] Last: Replace line 79 with perror("File error: "); and see what it prints.... (by Thomas1965)
|
by thuynh97
LinkedList Object Array Swapping
|
I am having trouble trying to do a simple selection sort for a LinkedList array that contains big integers. void selectionSort(LinkedList list , int size... |
Mar 3, 2017 at 8:30am
[1 reply] : It looks like you have a problem with the output function not the sort... (by coder777)
|
by Claudius7
Newton-Raphson method with approximate derivative
|
I have written the following code for the Newton Raphson method, which takes as input two function pointers, one that points to the function f(x), the other poi... |
Mar 3, 2017 at 7:38am
[7 replies] Last: Oooops! Sorry, how silly of me! Thanks, integralfix. Now it works perf... (by Claudius7)
|
by wasteproduct
Template and dynamic allocation
|
Hi. I've got an assignment today, and I'm having trouble with doing it... The assignment is.. 1. Make 3 functions. 2. "add" function saves data. 3. "get... |
Mar 3, 2017 at 7:27am
[4 replies] Last: Thank you!! I passed. (by wasteproduct)
|
by rantiv
Vectors
|
I need to get rid of the space after it outputs the last weight. #include <iostream> #include <vector>// FIXME include vector library using namespace ... |
Mar 3, 2017 at 6:58am
[2 replies] Last: Got it! Thanks! (by rantiv)
|
by Sillurechii
Defining chars as more than one option (Uppercase vs Lowervase)
|
Hey programmers, I'm new to C++ and I'm trying to make a basic roulette program. In the instructions, we're supposed to take bets in the form of single letters,... |
Mar 3, 2017 at 3:53am
[7 replies] Last: Its funny how people all over the world start with similar things haha... (by katapult)
|
by mayukhC
help with project 2
|
In this project we are going to be expanding the into the rest of the ways to structure our programs. We will be focusing on loops and functions in addition to ... |
Mar 3, 2017 at 3:25am
[no replies]
|
by wildcat123
How would I pass by reference?
|
I believe I passed by value instead of reference. #include <iostream> using namespace std; float ADD(); float SUBTRACT(); float MUTIPLY(); int num1,... |
Mar 3, 2017 at 3:10am
[4 replies] Last: im dumb tdog: start your own thread and state there what is your pro... (by gunnerfunner)
|
by ketanco
why we write int in hello world
|
in the typical hello world program why do we write int? int main() { std::cout << "Hello World!"; } we do nothing with an integer there. so ... |
Mar 3, 2017 at 2:15am
[8 replies] Last: @TheldeasMan Really? Thanks for the correction! (by ufrnkiddo)
|
by mayukhC
help with an encryption/decryption program.
|
i keep getting the errors .\encrypt.cpp(5): error C2447: '{': missing function header (old-style formal list?) .\encrypt.cpp(118): error C2447: '{': missing... |
Mar 3, 2017 at 12:10am
[2 replies] Last: I have corrected the errors but I am not getting any output. #includ... (by mayukhC)
|
by Ben1011001
operations and operators
|
Hi cplusplus, I am a complete beginner with no coding experience and using bjane (the creators) book to try and learn this langue. So please forgive me if this... |
Mar 2, 2017 at 11:33pm
[4 replies] Last: I'm not exactly sure what you are asking but I hope this helps. In you... (by joe864864)
|
c program please correct the below code |
c program please correct the below code. #include<stdio.h> #include<conio.h> void main() { int a ,b ,c ,m,n,m1,n1; int i,j,k,ch; clrscr(); printf("Enter... |
Mar 2, 2017 at 11:31pm
[6 replies] Last: printf("\nt\Matrix Manipulation"); this is not correct. you need pr... (by jonnin)
|
by Yoooooo
Pointers and logic trouble
|
Hello everyone. Let's just move on my problem. Here's the code: #include <iostream> using namespace std; int main() { int a ; int *ptr=new int; ... |
Mar 2, 2017 at 8:44pm
[2 replies] Last: you can change how much stack you have on a lot of systems/compilers a... (by jonnin)
|
by spax1111111
Memory leak/dynamic allocation of memory.
|
Do i have to "delete" the pointer I declared in the function **ptr_fj? #include<iostream> #include<string> #include<iomanip> using namespace std; int **pt... |
Mar 2, 2017 at 6:09pm
[2 replies] Last: great thx a lot :D (by spax1111111)
|