Beginners - December 2010 (Page 25)

Getting Possible Values (Sudoku Game)
 
Once again, I'm having trouble with my Sudoku Game. This is the last part and I'm almost there! I just need a little bit of help. According to the rules of Sudo...
[no replies]
Input from a file
 
Hello, Im very new to C++, but i know C very well. My problem is i am trying to read data in from a file, and the data is all on one line. The files na...
[no replies]
Having some problems with Structures
 
!!!!!I AM NOT WANTING ANYONE TO DO MY HOMEWORK...I JUST NEED SOME HELP WITH UNDERSTANDING!!!!! I am writing a program for class and I keep running into a "no...
[6 replies] Last: Thank you so much I understand it more and now I can fix my SWAPEM at ... (by richardrhaul)
by Maerle
tic tac toe game
 
what's wrong in my program??? it compiles, but there is a bug. #include <iostream> #include <conio.h> #include <cstdlib> using namespace std; int m...
[1 reply] : Could you be more specific? The win check is wrong (in rows and diago... (by ne555)
Closing multilpe forms
 
How do I close multiple forms at the same time? Whenever I add Close(); to one form it only closes that form. Ideally I want it to close all the forms that wer...
[1 reply] : That's unrelated to the C++ language itself. If you're using C++, it ... (by Athar)
Studying Question
 
Just a quick question for you guys. This next week is exam week and I really want to get at least an 80 on my C++ CMPSCI exam. Are there any tips on the best...
[1 reply] : If you're already through the theory part, there is just one way to im... (by Athar)
Prompts for input when not supposed to
 
I am writing a simple program for practice for my final exam, but seem to have come across a weird error. This code compiles, but when I run it is just blank. I...
[5 replies] Last: There IS a program named flex! That was annoying lol, changed it to fl... (by meeztered)
by wishly
about closing exe
 
hi i have 2 exe the client1.exe and client2.exe so i want if i close client1.exe the client2.exe close too whats the script for that? sorry for my bad englis...
[no replies]
Weird table issue.
 
For some reason this table produces several unwanted zeroes in between the values. How do I get rid of the zeroes? //Inches to centimeters #include <ios...
[2 replies] Last: // Set Precision. I think the issue might be here. cout << setpreci... (by Athar)
Array's
 
Here is another one I am having a really hard time with. A magic square of order n is an arrangement of n2 numbers, usually distinct integers, in a square s...
[1 reply] : Hi, Try to write code. and share with us your code. (by firix)
by CianCS
Arrays
 
Hello, I'm a bit new to C++, I have great programming knowledge, currently i program in Java. However i want to get back into programming with C++ however my mi...
[2 replies] Last: Hi, Create Array at C++ int *ptr = new int ; char *cptr = new... (by firix)
Bool function
 
A palindrome is a string that is equal to its reverse - "mom", "I", "radar", and "able was I ere I saw elba". Write a recursive Boolean function that determines...
[3 replies] Last: 1. Please write your code between [ code][/code ] brackets. 2. The i... (by waqqassheikh)
saving file to memory
 
I need to add a statement to the body of the while loop so that the score will be saved in the array GPA. I've tried finding a forum already because this seems...
[7 replies] Last: Correction filipe, it is Sariss1990 who was not checking for fail() or... (by kooth)
trouble getting information using ifstream
 
#include <iostream> #include <iomanip> #include <fstream> #include <string> using namespace std; int main() { ifstream infile; ifstream infile2; ...
[2 replies] Last: #include <iostream> #include <iomanip> #include <fstream> #include ... (by bler2010)
Draw a simple undirected graph G!?!
 
Draw a simple undirected graph G using paint program that has 12 vertices, 18 edges, and 3 connected components. Why would it be impossible to draw G with 3 con...
[2 replies] Last: This isn't a programming question and it's rather esoteric so no one m... (by cnoeval)
no matching function for call to
 
#include <iostream> #include<time.h> #include <stdlib.h> using namespace std; enum state {initial_state, qu_landing,arriving, qu_takeoff, departing, cras...
[4 replies] Last: thks a lot , it works, i make just function sort and i call it in main... (by hollowcplus)
String
 
I am writing a program now and I am typing in a lot of words through a loop and i need spaces in between each letter when they are printed out. When i type in t...
[7 replies] Last: oh, now I understand.. sorry, I somehow assumed you were saying that ... (by hamsterman)
What is this array problem
 
As stated in c++, array name is actually a pointer, then a multidimensional array's name is also a pointer which point to the first value in the array. when ...
[3 replies] Last: Hi northfly, a2 is a matrix matrix`s structure: for example:... (by firix)
by crxxtc
noob question
 
how do i give all rights except user_remove case ROLE_MANAGER: { cout << "MANAGER" << endl; //Managers have all the rights of admins except del...
[3 replies] Last: thnx for the hint of bitwise, i did some research and fixed the proble... (by crxxtc)
by Waise
defining in vc++ in OpenCV
 
Hi, My probem is, that when I write something like CvPoint p1(0,0); I get "p1 is undifined" error. But as much, as I understand, Im defining it right now...
[1 reply] : Did you #include the proper headers in the source files? (by filipe)
December 2010 Pages: 1... 2324252627... 35
  Archived months: [nov2010] [jan2011]

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