common mistake when you use global variables. ................. const int MAX_WRONG = 8; // maximum number of incorrect guesses allowed before...
Because you tried to code i will give you the answer for a,b. #include <stdio.h> int main(){ for (int i=0;i<4;i++){ printf("\n");...
Re: Need help in adding data in listbox; data entered in list box saves data in Acce maybe List1.AddItem Rs("Field1")
#include <stdio.h> #include <time.h> int main(){ clock_t start = clock(); printf("\ncalculating time elapsed,please wait!\n"); /*...
send the whole code here or send it with pm.
this will give you the opposite from what you want in 1) do the rest by yourself (hint:you must add 1 char and 1 number in order to work as you...
see the changes below #include<stdio.h> #include<string.h> #define count 2000000 void getString(char *string,int buffer){//with this function...
i think that you must return x[] to then main() function see my code below. #include <stdio.h> #include <stdlib.h> char * squeez(char [],char...
one way to do so is this #include<iostream> #include<string> #include<ctime> using namespace std; int main() { int numofchar;...
see the code below #include<iostream> #include<string> #include<ctime> using namespace std; int main() { int numofchar; srand(time(NULL));...
letter is always equal to 'A' that's why it never stops. you must increase its value by one inside the while. change this cout << letter...
first of all post the database here your post is in java thread ,you want an answer in java? if so ,where is your code so far?
Re: Write a program to remove trailing blanks and tabs from each line of input, and t http://www.go4expert.com/showpost.php?p=64723&postcount=4
-start with reading the number in a variable -validate the number entered -create an array like char [10][3][30]...
in which part do you want help? where is your code so far?
#include<stdio.h> #include <string.h> void reverse(char str[]); int main() { char str[100]; int i; printf("Enter to reverse : ");...
scanf is not suitable for this task it stops when it sees a space or enter use gets or fgets for the count problem there is a command--->strlen...
for example two word with more than one space between them: cat dog 2 words seperated by a question mark: cat?dog and many more. It's not...
import java.util.Random; public class SortArray { public static void main(String[] args) { System.out.print("Input Array:");...
start with this #include <stdio.h> #include <stdlib.h> int main (){ char filename[] = "myfile.txt"; FILE *file = fopen ( filename, "r" ); char...
Separate names with a comma.