Programming Forums
User Name Password Register
 

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

Showing results 1 to 16 of 16
Search took 0.02 seconds.
Search: Posts Made By: El Toro
Forum: C Jun 15th, 2005, 7:59 PM
Replies: 14
Views: 1,205
Posted By El Toro
i shan't mention the you-know-what. but i think...

i shan't mention the you-know-what. but i think my filter already produces sweeter names than yours...

i had to beat it about a bit to remove the warnings, c++ comments etc, it's a bit fugly and i...
Forum: C Jun 14th, 2005, 1:33 PM
Replies: 28
Views: 1,020
Posted By El Toro
only too glad to help. i diagnosed the problem...

only too glad to help.

i diagnosed the problem by compiling with -g and linking with electric fence, and then running the process in gdb using the emacs gdb mode to give interactive source viewing....
Forum: C Jun 14th, 2005, 9:55 AM
Replies: 28
Views: 1,020
Posted By El Toro
cheers. it was quite interesting in the end once...

cheers. it was quite interesting in the end once i found some time - even acquired a few new techniques myself.

I think i'm too late in the sense that the OP has vanished! not to worry, it'll be...
Forum: C++ Jun 14th, 2005, 5:50 AM
Replies: 31
Views: 909
Posted By El Toro
5. you should really think about returning a...

5. you should really think about returning a value (k, i guess). what can you do with the function as it is? all it does is output a number to sdtout. how useful is that in, say, a gui program, or as...
Forum: C Jun 13th, 2005, 7:51 AM
Replies: 28
Views: 1,020
Posted By El Toro
so, i think the root of your problem was your...

so, i think the root of your problem was your implementation of the MAX3 function. I think its purpose was to take 3 integers and return the largest one. Your implementation looked like this:


int...
Forum: C++ Jun 9th, 2005, 12:08 PM
Replies: 32
Views: 972
Posted By El Toro
roar!

roar!
Forum: C Jun 9th, 2005, 11:51 AM
Replies: 24
Views: 651
Posted By El Toro
as far as i can guess, all it does it copy a text...

as far as i can guess, all it does it copy a text file. if you don't provide the right argsit doesn't work. I can't be bothered to investigate it further. nevertheless, it's probably written on...
Forum: C Jun 9th, 2005, 7:31 AM
Replies: 26
Views: 1,045
Posted By El Toro
here's an alternative implementation where you...

here's an alternative implementation where you don't need to generate the array that stores the characters:


#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <time.h>

char...
Forum: C Jun 9th, 2005, 6:39 AM
Replies: 24
Views: 651
Posted By El Toro
argv probably isn't valid because of the main...

argv probably isn't valid because of the main signature he's using. change it to

int main(int argc, char * argv[])

and it'll probably work.
Forum: C Jun 9th, 2005, 5:01 AM
Replies: 28
Views: 1,020
Posted By El Toro
lol, well, i haven't actually managed to *do*...

lol, well, i haven't actually managed to *do* anything yet!
Forum: C++ Jun 9th, 2005, 4:59 AM
Replies: 8
Views: 882
Posted By El Toro
i don't want to be all negative, but... 0) it...

i don't want to be all negative, but...

0) it doesn't compile on my machine (DaWei's comment)


1) does it run?
2) does it work correctly?
3) have you tested it?
4) what about header/source...
Forum: C Jun 9th, 2005, 4:40 AM
Replies: 28
Views: 1,020
Posted By El Toro
can you place it on some webspace? although i...

can you place it on some webspace? although i have no problem giving you my email address, my university places a 10MB limit on email size.
Forum: C Jun 8th, 2005, 12:35 PM
Replies: 28
Views: 1,020
Posted By El Toro
ok. it compiles and runs, but i have two...

ok. it compiles and runs, but i have two questions:
1. which main are you using (the one in ezw.cpp or unezw.cpp)?
2. can you post an input file?
Forum: C Jun 8th, 2005, 5:25 AM
Replies: 28
Views: 1,020
Posted By El Toro
can you upload the rest of the files? i can't...

can you upload the rest of the files? i can't build without the following:




i should have time to run an executable through gdb/valgrind and possibly some other tools today/tomorrow, but don't...
Forum: C++ Jun 7th, 2005, 3:14 PM
Replies: 31
Views: 909
Posted By El Toro
whom are you addressing? the only thing "wrong"...

whom are you addressing? the only thing "wrong" with AD's code (assuming both pointers are valid) is the int declared for the for loop iterator will no longer be in scope after the end of the for...
Forum: C Jun 7th, 2005, 1:48 PM
Replies: 28
Views: 1,020
Posted By El Toro
given that you say it works in the two cases...

given that you say it works in the two cases where the hsize, vsize and zsize are the same, but not when you try to have what might be called a "non-cubic" volume, you should check that you're...
Showing results 1 to 16 of 16

 
Forum Jump



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

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