I have made a large program which takes information form a serial port.
I'm currently using CreateFile to 'open' the serial port to communicate with the other computer. However I'd like to be able...
Type: Posts; User: inmaterichard
I have made a large program which takes information form a serial port.
I'm currently using CreateFile to 'open' the serial port to communicate with the other computer. However I'd like to be able...
I have a programming which draws a graph for .txt data and other things.
Im trying to make this code take single character inputs from the serial port and store them into a txt file as an integer...
i am using Linux to program in for the first time. i have a basic knowledge of c and am currently learning c#. can anyone help me retrieve text from a URL in Linux with in C. if any one can help me...
if you look at modern games like forza motorsports 2 on the 360. what language is that made in, does anyone have any ideas
hi, i have done basic c programming, and done a little c++
i really want to get started in programming. where is the best place to start. i would one day like to look into games. also wheres the...
thanks alot, it works now, i put
final[0]='\0';
thanks for that explanation, very helpful.
i no this wont work on its own, but i hanent got a memory stick to copy the actual code across, an im not online with the computer that im writing it on, i was just wondering if anyone has had a...
i have made a program, i had code that said
void main()
{
char a[20];
char txt[20];
char final[50];
i have writen a program which basically does a form of SSC. it loads two arrays and then prints them.
then takes a user input and changes the a's to d's (just an example), but i want to make it...
i have got a program which loads a file and reads it in char buy char and then print it.
does anyone no how to change this program so it will store the char's into an array as they are being...
I cant get this code to stop allowing overfollow on the inputs. at the moment it carries any char's over 7 on to the next line and messes it up.
is there a way i can stop this?
#include...
by the way, thanks again, great help
ok, so now with some excellent help from you guys ive got this.
#include <stdio.h>
int main()
{
char a[10];
should i declare the a[i] as a variable. im just starting to learn, dident realise how dificult this can be, lol.
i have made a small mistake on the code i put up, it should not say enter first name and last name, i want it to just work with intergers. sorry about that. il have a go now, thanks very much
ah, cool, ive managed to do this
#include <stdio.h>
int main ()
{
great, ill have a flick through an let you no how i get on, thankyou guys
It is just A-Z with no spaces
i am trying to open a .txt file into an array and then print it on the screen.
i managed to do it in c++ but have been told i have to do it in c.
i think i have managed to load the file but...
i have to write a program that takes two inputs as arrays and then outputs the intersection.
please help as im really new at this, lol.
here is what i have come up with so far.
void...