No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
This one's new. It's just like the counting games, but in this one we count [B]DOWN [/B]so don't get confused. I'll start us off. 1000 |
|
I'm trying to write a script thats spawns a fortran program that needs std file input i.e. you would open it in bash with: [ICODE] ./program < input [/ICODE] How can I do this in python? I have tried the os.spawnl() and it spawns the process but the input does … |
|
Hi guys! I wrote a class "Complex" which is representing complex numbers. Nevermind, I was trying to make it a library so i could use it easily in other projects but when i compiled i always got this an error. This is the log from the compilation. [QUOTE]Compiler: Default compiler … |
|
The problem is that my program crasches when at line 13. Pot10 i an int and lgth is an int so whats the problem? I can't figure it out:( [CODE=c]typedef struct ArrInt{ int intM[100], lgth; } megaint; void scanMeg(megaint *x){ int Pot10 = 0, ret,IntArr[100]; char c; while( (c = … |
|
I have a problem with unsigned long long int's. I'll tried to do a function wich calculates the factors of an integer. It worked fine with int, but when an tried with unsigned long long int the % and <= operation failed... here is the surce code for the function … |