Hello again this is my second post today, (I solved at least how to delete it ! thanks for sharing your knowledge guys !!")
This is the code
void passenger_info()
{ //void passenger_info()...
Type: Posts; User: client
Hello again this is my second post today, (I solved at least how to delete it ! thanks for sharing your knowledge guys !!")
This is the code
void passenger_info()
{ //void passenger_info()...
Well I'd like to know how I can delete the content of a string...
As an example
#include <stdio.h>
void main(void)
{
char string[1][32] = "This is a string";
Thanks for your help, but I have the following problems...
When I change
if((first[seat][a] == "M")||(first[seat][a] == "F"))
to
I removed the * (asteriks) from the strings in the output but this time not ".l" was displayed "(null)" was displayed ???
Thanks in advance
client :confused:
O.K. ! Thanks to all who explained me how to use fgets... Now I made some bugfixes in my code... this is the result !!!
void firstclass_select()
{ //void firstclass_select() begin
...
Hi again :cool: ,
So I have written the following module, but it locks the computer or shows error messages... :mad: I still can't understand what's the problem with this code... :confused:
...
Hi everybody,
So first to details, I'm using Borland C++ for Windows 3.1 & this prog. will work under DOS !!!
So here are my global variables
char *first[16][4];
char *econo[24][4];
I know that strchr, searches for the first occurences of a char in a string... I just wanted know if I can use this code to count characters in a string as example.
String: An apple a day keeps...
Hi folks...
So this is my Code:
#include <stdio.h>
#include <string.h>
int main(void)
Hi it's me again, with the same problem...
This time I have a different kind of solution but know how to put it in real.
So...
1. Is there a possibility to search with strtok, how many words...
Thanks for the responses but that was not exactly what I was looking for.
First of all I use Borland C++ 3.1 and this program is running under DOS.
So I'll write again my problem....
Program...
Hi everybody,
I'm new to C and I'm trying to find out every function with Help, but this time it was of no use. So I just need a tip or something like this for this three questions !!!
I'm using...