okay sorry I will take all you advice this is my first program
Type: Posts; User: geekrockergal
okay sorry I will take all you advice this is my first program
Errors:
unable to open include file 'STDIO.H' highlights #
unable to open include file 'CONIO.H' highlights #
Function should return a vaule highlights semi colon
Declaration terminated...
thanks again *hits head on desk*
okay try and find a way around not using strings
yes I did understand the bit about % thank you
again thank you Im at last understanding !!!!!!!
I did what you said and Im getting two errors and two warnings
/*********************
Program Name:Program 1
Author:geekrockergal...
Ive tried it in both upper and lower case and I still get the same error
thanks
thanks again
is it possiable to have multiple else statements:
int letter;
printf ("Please input letter [A, B, C]:\n");
do {
letter = getch();
letter = toupper(letter);
so is it possiable to do this (I want the user to input a speific character A or B)
char letter;
printf ("Please input letter:\n");
if {
letter = getch(A);
printf ("\nThe letter you have...
okay thanks
thanks
I am Im just writing what Im learning/reading in order to get a better perspective of it
thanks
thanks Im using borland by the way
thanks whats the != 27 is that something to do with the letter length??
/*********************************************************/
Program Name:program1
Author:geekrockergal
/***************PREPROCESSOR DIRECTIVES********************/
...
he hasn't explained it us full stop he just gave us a sheet to write from the only thing he explains is how to place our code in to flow diagrams I'l have to ask him next wenseday *sigh*
My lecture told us to write:
/*********************************************************/
Program Name:
Author:
/***************PREPROCESSOR DIRECTIVES********************/
thanks Adak
so if I wanted to create a program that outputted a letter that the user inputted, would it look like this:
printf ("Please input letter: ");
int %c
printf ("The letter you have...
How do I get a string to output a letter instead of a vaule in borland???
I placed ; at the start of each line becasue dev C++ was getting funny over it =( it still worked
sorry people I thought there were minor differances in c and c++ I have a template for borland that I can modify it to but I wont be able to test it as I find borland really complex to install and I...
Ive started it off:
#include <iostream>
#include <string>
using namespace std;
int main(void)
I need to create a counter and display it at the end of my program. I need to use this counter to show how many course applications where accepted and rejected based on certain criteria the student...