Thank you master!! you solved my problem as usual :D
Type: Posts; User: AdampqmabA
Thank you master!! you solved my problem as usual :D
I'm not 100% sure but I think that you need ' ' around your choices.
Like this:
int main()
{
char choice = 'y';
do
Hi,
I have some problems with this code:
Here I have the code for a function that enables the user to add name and numbers in my phonebook. However when i execute the function the program...
I feel honoured! :D
Thanks again :D you really are the master!!!!!
Microsoft Visual C++ 6.0
okey, thanks.
by the way, is it possible to clear all the text in a program?
so in other words, there are no ways of jumping like this:
#include <iostream>
using namespace std;
void jumping();
int main(){
Figured it out now :). now i have another problem!!!
When i have the the jump command in a function but the header in the main function then you can't use the function to execute a jump. Is it...
thank you for showing me :). But i still have some problems to create a for_loop: for exaple is there anything special you need to do? or just write the name like main: and then goto main; or?
can you tell me more about the goto
Well I don't really know if it is the best thing to do maby you could do it without jumping. But I'm curious if there is some commands that will enable jumping in the code.
Hi,
I would like to know an easy way to jump from one place to another in c++.
Best regards! Adam
thank you!!!! Silly me by doing such a miss :D!!!
Here is the code so far for an easy phone book. While the string variable is not equal to either 1 or 2 i would like the program to loop the first phase of the options 1 or 2.
#include...
i get these syntax errors
C:\Program Files\Microsoft Visual Studio\MyProjects\44\44.cpp(16) : error C2059: syntax error : '!='
C:\Program Files\Microsoft Visual Studio\MyProjects\44\44.cpp(16)...
Hi,
I have some problems with syntax when i have this inside my code:
string val;
while(val != "1" && != "2"){
....
strange it seems like such an easy thing to implement. Well then i will just read more about arrays then :/
I would not like to use an array. I just want to create 10 variables. by using a variable i for defining each variables name.
Hi,
Im fairly new with programming. Im following up my last class on programming with c++.
The question i have is very simple.
Lets say you want to create 10 different variables and give...