Search Results

Showing results 1 to 12 of 12
Search took 0.01 seconds.
Search: Posts Made By: Srynx
Forum: C++ Nov 9th, 2008
Replies: 3
Views: 455
Posted By Srynx
Solved,
tauler[PacMan.y + 1 ] is an invalid vaule.
Thanks to everyone who has helped.
Forum: C++ Nov 9th, 2008
Replies: 3
Views: 455
Posted By Srynx
When I include i++; inside this loop I get a runtime error and I have no idea why I get it:
Do you have any idea?

while (i <= 3){

if (tauler[PacMan.y][PacMan.x]==0)
...
Forum: C++ Nov 1st, 2008
Replies: 2
Views: 332
Posted By Srynx
When I compiler my program I get this warning and when running it a runtime error.
The warning is:
128 ... [Warning] passing arg 1 of `MostraPantalla' makes pointer from integer without a cast
Forum: C Oct 23rd, 2008
Replies: 3
Views: 512
Posted By Srynx
Hi I'm trying to generate a random number betwen any numbers (eg from 1 to 100) and I've tried this code:

#include<stdio.h>
#include<math.h>
#include<time.h>
#include <stdlib.h>
int...
Forum: C++ Dec 24th, 2007
Replies: 19
Views: 3,263
Posted By Srynx
Hi I'm making a menu in C++ for a sudoku puzzle solver program I've already wrote using switch setence.
I've wrote that code:

#include<stdio.h>
#include<stdlib.h>
#include<conio.h>...
Forum: C++ Dec 18th, 2007
Replies: 11
Views: 1,546
Posted By Srynx
I've wrote a new code. I think it should work but it doesn't give any results when I run the program.
Can you help me telling me what's wrong, please?

// Sudoku

#include<stdio.h>...
Forum: C++ Dec 10th, 2007
Replies: 11
Views: 1,546
Posted By Srynx
Hi,

1. // Sudoku
2.
3.
4. #include<stdio.h>
5. #include<stdlib.h>
6. #include<time.h>
7. #include<iostream>
8. #define MAX_FILES 10
Forum: C++ Dec 8th, 2007
Replies: 11
Views: 1,546
Posted By Srynx
I just get an error at runtime when I input how many columns or rows are there in the sudoku. Windows XP warn me to send an errors report and I only know it's a dwin.exe error.
Forum: C++ Dec 8th, 2007
Replies: 11
Views: 1,546
Posted By Srynx
Hi,

// Sudoku

#include<stdio.h>
#include<stdlib.h>
#include<time.h>
#include<iostream.h>
#define MAX_FILES 10
#define MAX_COLUMNES 10
Forum: C++ Nov 3rd, 2007
Replies: 11
Views: 1,546
Posted By Srynx
Hi,

here the corrected code:
//sudoku.cpp:

#include<stdlib.h>
#include<math.h>
#include<stdio.h>
#include<time.h>
#include<algorithm>
Forum: C++ Nov 3rd, 2007
Replies: 11
Views: 1,546
Posted By Srynx
Hi,
I've wrote all code using using matrices and the problem happens even more often.
I've tried it in another compiler (DEV-C++) and with this one program just doesn't run.
Forum: C++ Oct 20th, 2007
Replies: 11
Views: 1,546
Posted By Srynx
Hi,
I'm working in a 4x4 sudoku solver and i'm a beginner in c++.
I use Microsoft Visual Studio 6.0 and windows xp professional
Variables are:
a1 b1 c1 d1
a2 b2 c2 d2
a3 b3 c3 d3
a4 b4 c4 d4...
Showing results 1 to 12 of 12

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC