8 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for dre-logics

I have a simple question, I have the following menu. Main Menu Sub Menu 1 Sub menu 2 Sub menu 3 Sub sub menu 3.1 Sub sub menu 3.2 Sub sub menu 3.3 I would like to direct if the Form load that "Sub sub menu 3.3" is selected. Is …

Member Avatar for ryanjayson
0
249
Member Avatar for Rohan_1

Can u plz help why dis happens? I was told to write a cpp program to find the factorial of a number using go to

Member Avatar for Ancient Dragon
0
199
Member Avatar for 111100/11000

**How to go back to** start_new_input: **of main() function?** #include <iostream> #include <string> #include <cmath> using namespace std; //global varibals: char entered_characters[9999]; int direction_of_rotor1; int direction_of_rotor2; char alphabet_of_rotor1[26]; char alphabet_of_rotor2[26]; char rotor1_backward(char Letter); char rotor1_forward(char Letter); char rotor2_backward(char Letter2); char rotor2_forward(char Letter2); char print(char print_char); int main() { cout << …

Member Avatar for ravenous
0
144
Member Avatar for Labdabeta

A friend of mine recently asked me to help debug some code. I looked through it and it was riddled all over with goto statements. I know why he uses them (he used to program mainly in assembly and batch) and I tried to explain why he should try to …

Member Avatar for Labdabeta
0
415
Member Avatar for PrimePackster

Here i have a working code, what i want to know is: When the user inputs elements to the array, i want it to be automatically aligned in form of an matrix. Instead of [ICODE] 1 2 3 4 5 6 etc....[/ICODE] But just as a matrix, like this [ICODE] …

Member Avatar for PrimePackster
0
253
Member Avatar for reza.adinata

Hi all, I am a newbie in C, and a bit curious with this "goto" statement. For instance, I create a simple code below [CODE] #include <stdio.h> int main () { int a; a = 1+1; if (a!=2) { goto error; } error: printf("error is here\n"); return 0; } [/CODE] …

Member Avatar for reza.adinata
0
184
Member Avatar for baby_c

Dear friends, I'm developing a software for one of our assignments. But the problem is I's still learning these things.But since I have bunch of Java expert friends I have no fear to face it ;) .So friends this is the code. [CODE]package census; import java.io.*; public class Main { …

Member Avatar for baby_c
0
158
Member Avatar for Bastiondar

Is changing the currentLoc variable with an [B]IF[/B] statement a bad way to terminate this loop below? I'm told: [I]"...something in the loop body must cause the expression to become false at some time. One of the things you do not do ever, is write an if statement to change …

Member Avatar for Bastiondar
0
349

The End.