It is precompilation standard C code is what it should generate I am envisioning switch case statements (every ten iterations) within switch case statements(every one hundred iterations). I hope that...
Type: Posts; User: Once-ler2
It is precompilation standard C code is what it should generate I am envisioning switch case statements (every ten iterations) within switch case statements(every one hundred iterations). I hope that...
yes I am stuck, I can't go into specifics because it is an encryption program but I need a program that will generate the source code for a very large number of possibilities all switch case embedded...
no I am not trying to change the exe I am trying to make a program which in turn writes a much bigger program(source file that is) which is impossible for a human to write
I want it to take a very large program from a small file write program.
for instance one of the case statements could be if
counter =30 then " case 30 {fwrite pfile printf(this is number 30);}
For instance
int counter;
counter =0;
FILE *pfile;
pfile= fopen("g:\\myprog.txt" "w");
while (counter >100)
{ fprintf (case counter{something})};
I am writing using code blocks with the built in compiler in W7
but I plan to port it to Debian and OSX as well
I am writing a program, the trouble is is that it uses a single thread and is SLOW.
perhaps the name of a textbook that is good or any sort of book.
The books I have gotten are either beginner books or expert books.
Thanks
thanks every body.
I did not know that you could have multiple file opens(I thought that you could only open it once.
The disk is not the problem the problem is that the encode takes forever and I was hoping to speed it up with more threads
parallel processing on files that is
I am attempting to break up a file into smaller chunks and have it process the different parts of the file in parallel to speed up the entire process. I was thinking maybe 4 chunks at a time. How do...
Where can I find some C source for segmented downloading? I am really interested to see how this actually works. Surely there must be some source out there, so far google has turned up a bunch of...
I am wanting to do segmented video encoding and thought that this would be a good thing to look up. I mean if download managers can put the file together exactly as it is supposed to be shouldn't I...
Thanks you guys.
I cannot edit my posts or reply(just quick reply)
Why is this not working?
it is not letting me edit my post it should be
#include int main () { FILE * pfile; unsigned long long bytesremaining =0; unsigned long long remain = 0; char name[150] = ""; ...
#include int main () { FILE * pfile; unsigned long long bytesremaining =0; unsigned long long remain = 0; char name[150] = ""; printf("enter the file name and path\n"); ...
I was hoping to be able to code for all of them
I want to make a program that checks the computer and finds out how many threads it can process simultaneously and use that information to alter my program so that it processes the maximum number of...
what's an example code? I am confused, I took a break from studying and now I can't seem to remember anything much. Thanks
But how do I take some from the beginning and insert the new ones at the end and then read some more from the beginning and not read it off the end? And I am comfortable using pointers, I am not...
I need to read in an x number of bytes where x= 1-9 bytes like say I have a number 123456789 if I take 4 bytes off that then the end gets filled with bytes to read 56789,10 , 11, 12, 13 How would I...