Then I guess I should be starting this program all over again , what should I be doing so that my program is as simple as possible and without messy ness.... And this is all going to be based on the...
Type: Posts; User: Moody Barrawi
Then I guess I should be starting this program all over again , what should I be doing so that my program is as simple as possible and without messy ness.... And this is all going to be based on the...
Oooh cool.... Sadly this pointer thing I'm not a master at, well basically I really don't know how to use it it.... can you just explain to me the types I'd use pointer by address of by reference,...
I see, well I wanna ask you something, now when I input-ed everything that takes care of the first part of my menus inputs. Now the second part the edit, what do I do? I want to be able for the user...
Okai let me explain this for you in a way you will understand it. When going to the sorting part. How will the system recognize during the sorting part that this input lets say Mark, belongs to the...
your code has 2 issues, one it takes the enter as a char, and two it only displayes the first input in the sequence
Did you open up to see what I want the code to be like in the word file? Problem is, if I use the If, I can't go back can I? Like I want to be able to go back from the submenu to the menu got the...
try this?
#include <stdio.h>
int main ()
{
int x;
Okai so basically what I want is an interactive menu in C, I started off by making the case 1, case 2, break etc... but here is the thing each menu will make an other menu, and each other menu has...
I see thanks I will try that now
So I wrote this
#include <stdio.h>
void double_trouble(int *p2, int y2);
void trouble(int *x1, int *y1);
int main(void)
{
I know how to do that but my program is in a big scale. So I kind of get confused :p
OOh I actually get what you mean... But can I like do a *x in the function to change the value so it would change in the main program so I don't have to change it again and again over and over. So...
It's no homework. we have this book here in UNI that we can do these exercises in preparation for our exams next week. And I'm training to write programs so that I won't screw up in the exam. So I...
So does the function go like char x; printf "do you want to do an other conversion"; then scanf "%c",'x' then if x==N | x==n then exit the program and if x==Y | x==y then repeat the program?
This program when run is supposed to make these answers... So if I do what your saying it would give me these answers?
x
y
z
Okai this is the program, or at least I think so :p. What the fiddlesticks is wrong with it?
#include <stdio.h>
void double_trouble(int *p,int y);
void trouble(int *x,int*y);
Oooh, so i make a function that behaves like a loop that only goes out if N was put, and go around in the loop if I press Y. And I should make all of the MAIN program inside this function is what you...
Okai here is the Code so far, It's not bad :p But the teacher told me to add a Main function that calls my sum function. WTF? wouldn't the compiler go crazy if I change the 'main' function because...
Okai, so this is the program I have reached, it works perfectly. But there is one thing I need. I need to add a Y/N function. What I mean is I want for there to be a question to ask the user at the...
So basically all we know till now is basic programming. So while, and for loop, if and else functions, and int double and void functions, and a function with input and output parameters with a single...