Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Showing results 1 to 7 of 7
Search took 0.01 seconds.
Search: Posts Made By: colt
Forum: C Feb 16th, 2006, 4:08 PM
Replies: 11
Views: 390
Posted By colt
Thanks for the support The problem wasn't the...

Thanks for the support

The problem wasn't the break statement being inside the switch, because I have other soon before the switch statement

printf ("\nPress '1' to realise a miles to kilometers...
Forum: C Feb 16th, 2006, 3:23 AM
Replies: 11
Views: 390
Posted By colt
Break of an infinite loop inside 1 of 2 equal functions doesn't work

I have this code......


#include <stdio.h>

int lenght ();
int temperature ();

main ()
{
Forum: C May 18th, 2005, 3:03 PM
Replies: 2
Views: 254
Posted By colt
How to say the size of an array using printf ?

Hi, I was trying to define the size of an array using the printf statement. I want to do something like this:
printf ("Say here the size of the array: "); to produce this:
int a [10] with 10 being...
Forum: C Apr 26th, 2005, 7:55 AM
Replies: 3
Views: 284
Posted By colt
Returning a value from a variable to the main function

Hi, I am having a big little problem to return to the main function, the value of a sum operation. As you can see in the code, all I want to do is to return the data contained in the 'res' variable...
Forum: C++ Mar 23rd, 2005, 3:56 PM
Replies: 2
Views: 257
Posted By colt
2 problems

Hello, I am writing this program whose function is to insert coins into a machine and I don't know how to perform this actions:

#include <stdio.h>
main ()
{
int coins, i, result;
for...
Forum: C++ Mar 21st, 2005, 1:29 AM
Replies: 2
Views: 180
Posted By colt
That's basically the idea that I had, but it's...

That's basically the idea that I had, but it's written in a way that works. :) Besides that, now the code is well more clean. Thanks :)
Forum: C++ Mar 20th, 2005, 5:26 AM
Replies: 2
Views: 180
Posted By colt
A for loop inside of another for loop

I am doing a project with consists in printing on the screen a arithmetic table in this format using two variable values:

1 + 0 = 1/// 1 * 0 = 0/// 1 - 0 = 0
1 + 1 = 2/// 1 * 1 = 1/// ...
Showing results 1 to 7 of 7

 
Forum Jump



DaniWeb IT Discussion Community
All times are GMT -5. The time now is 10:26 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC