Ok thanks for the advise jmd15, maybe I won't bother with it. The whole program seems a bit bulky, and Ive also heard that the programs you create with it are always bigger in size and not very fast...
Type: Posts; User: voodoo3182
Ok thanks for the advise jmd15, maybe I won't bother with it. The whole program seems a bit bulky, and Ive also heard that the programs you create with it are always bigger in size and not very fast...
I generaly practice coding in C, but have recently decided that I might give VB6 a go, as it seems easier when writing programs for windows. I think I might have been put off the idea though as Ive...
Thankyou 7smurfs for your warning but I dont P2P software is actually illegal. Although, I think if the owner of the copyrighted materials wanted to actually prosecute, eg. Britney Spears decided she...
Does anybody know if Winmx does actually respect its users privacy? It might seem to the user that it is clean, but has anyone actually seen the source code? It seems to be the only P2P file sharing...
For people to be able to help you, you will need to post the actual code that you are having problems with.
When performing calculations with floating point variables, why are the results not the same as a ordinary calculater.
An extended thanks to Dave_Sinkula. This is exactly what I was looking for, I have learnt from this now, and can use it in my program. I think maybe this should go to the FAQ section, as this type of...
Yeah I do want to append, I will try again using your sample code. Thanks Dave and Salem.
yeah, I noticed the file gets bigger everytime I run the program. So what does "ab" actually do? I thought it would write the data to the next empty structure? Is it wrong that Im using the integer...
The regular members to this board, who have been helping me, will kow I am learning to program using arrays of structures. Well Im still having probs. If someone could please tell me what Im doing...
When I compile and run this code I can enter values to the array, and then terminate the loop by pressing n, which is OK. It will then print of what I entered and exit the program. But when I run the...
If his programming consists of just a check box and OK button, then I dont think he will know what GCC is, and probably doesnt even use a Linux system. But maybe Im wrong.
Thanks also Kermit for fixing the %f so they print to screen in right format. The problem which I still have though is, when I add this small piece of code just above the at the top:
...
Thankyou kermit, I am grateful for your help, and the fact that you have actualy compiled and altered the code. When you're learning, books cant always help you in the way that another person can. I...
Can someone please tell me what is wrong with the code below, and point me in the right direction. I want the user to be able to add to each structure of the array, and then view them back, but it...
Cn you please tell me what Im doing wrong as its not working properly
#include<stdlib.h>
#include<stdio.h>
#include<conio.h>
#include<windows.h>
#include<string.h>
#include<time.h>
OK thanks dwk. What would be the best way to break this loop if the user wanted to quit?
Ive tried but it will only write write to the structure which I specify, and if I dont specify a number I just get an error when compiling. This is what Im trying to do:
FILE *fp =...
Can anyone please help me with an example of appending the end of a structure in a binary file. For instance, I have an array of 1000 structures, and for instance, so far the user has only wrote to...
That function is very helpful, and I could use it a lot in my program. It works fine for me. Thanks
Thankyou for your help, it is putting me on the right track every time
I figured I can stop the loop with getchar or getch, and wait for user input, but it still doesnt allow me to enter a string, because it just jumps straight to the next line??
Thankyou quzah, but would be grateful if you could show me what to do. Ive been to the FAQ and tried an example but to no avail. I know its just a simple thing, but for me its a big problem (Ive been...
I think its something to do with fgets, any suggestions anyone?
Ok salem, I got rid of the pointer, but why is it skipping the second .prod and going straight to the .cal