Quzah,
??? I'm not following?? I need a better teacher? which post?
I am on these boads to learn..... if I am getting something wrong, then please tell me so that I can learn from my...
Type: Posts; User: computerfreaks
Quzah,
??? I'm not following?? I need a better teacher? which post?
I am on these boads to learn..... if I am getting something wrong, then please tell me so that I can learn from my...
Not knowing what you already know... some basic theory behind what you want to do:
You will have sensors which connect to the microcontroller, when as obstacle is hit, then the curent sensor...
I was just wondering about the theme thing myself..... you guys all from the same school or something with the same assignment??
I think you need better teachers!
I stand corrected..... however if this is c++ then surely the message should be posted in the c++ forum??
So are you saying that
scanf("%f""%f", &var1, &var2);
is accepted? ok... just...
you need to declare insances of the structure. You have correctly created the structure, but need instances.
So....
struct point2d pa;
struct point2d pb;
you can then remove the line
The first thing that I would note about this is the following:
while((inputChar = getchar()) != EOF)
{
convertedChar = convert(inputChar, &whtSpc, &charCnt);
}
while((inputChar...
When you say that you don't get chance to input anything... what do you mean??
Do you mean that it is ignoring the text to be encrypted and just putting the char found in the key, as referenced by...
That answers a lot for me. Thanks very much!
You get the honour of appearing in my final report ;)
Inevitably.... the next question is how exactly??
As I understand from reading books and the FAQ on linked lists, this would mean (correct me if wrong) that all of my data is loaded into memory?...
Please could you explain further..... what sort of input output is expected from this program??
It is hard to help when the program isn't easy to understand (well not for me anyway ;) )....
...
I am currently writing a program for a Uni project that acts as a video rental store system.
I am about to write the part which will create a customer rental histroy file. The main problem I face...
The best thing that I find to do...
If your code compiles, but still doesn't run fully, then there is usually some kind of memory error. You need to locate the exact point at which your code...
errrr those look the same to me?!?
A good tip..... when you have a problem and you are unsure where it is coming from, put some debug lines in the code.
The best way (I find personaly) to do this is to get the program to print...
I am unsure why your program doesn't work.... but I have recently being doing something similar and used the strstr function.... it seems to be a whole lot easier.
the parameters are as follows:
...
Wasn't really thinking!! will remember that......
on the note of fflush(stdin).... I was reading my book "SAMS: Teach yourself C in 21 Days" only to discover that the writer uses it all the time!!...
obviously that should hav been
case 1:,
not
case 'a': !!!
Correct me if I am wrong, but there are a couple of other problems with the code:
The functions being called to print the shape have been delclared to take an integer parameter, but there isn't a...
ps.... there is a time and date FAQ
What I understand about pointers:
The problem iswhen you have a function that has to return more than one variable to whatever called it.
Imagine it logically, function 1 calls function 2 and...
Thanks so much... that worked a treat.
I shall be sure to read the FAQ.
ooppps, will go and read the FAQ now.
thanks
ok... so what is the best way to have a structure that I can access in my main program and have functions in header files that use the structure??
I have been experimenting with different methods,...
I personally use the fflush before a getc command... the reason for this is that sometimes there is buffered text that causes the program to skip the getc command.
It has been a common problem for...
Ok, I have done that.... that didn't appear to have any effect. I think my compliler must have ignored that I had written in those chevrons because it was finding the structure definition from the...