- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
36 Posted Topics
what I am trying to do is store same letter to same node. For example: let say I have person, people is sent to be put into a node. This will create two node. I want to some thing like P: Person People Person and People are same note When … | |
I know I should have try it first but I dont understand what is this asking about. My english is my very bad. Can you please telling in easy english. PLus this is very confusing. Please help me out Write a BNF grammar for the for statement of C. Assume … | |
Hello There, Can I someone explain this problem. I dont understand what mean. I have read over and over i still dont get it. Assume you need an application that operates on two kinds of data types D1 and D2. Both D1 and D2 need to be defined with typedef. … | |
I want ask what is different between www.google.com and google.com because both of them dont have same ip. Does anyone know why? | |
I try to it. it still have junk char on it. The thing I try to do is decrypt byte key that w/o using the key. When i test is show me a junk when this code is detele any char that over the 0 to 127 but it not … | |
I am very confuse about find the if the file is in english word. Let say that file contain some garbage letter and number but in that garbage letter and number it have a mean. Let say hello there in that file how do I set the code so that … | |
I want to check the number of user input. If it negative number it will disable the sumbit botton. my code is run but let say i enter three -1 and if i change of it to positive the sumbit botton is enable. I want make sure if all the … | |
In code there is javascript part where test the user input if negative number it will disable sumbit button. Now the problem is that I cant get to reset to normal once the fix the number to positive number. Here is what I have try if num< 0 Do something … | |
I have everything c shell script to go. i dont know how to make a for a c shell script to run traget name: c shell name (what do i put it here?) chmod a+x Like that? | |
I very new to C Shell. I am trying to read a file from the command line, and determine whether it's a zip file, a .txt, a symbloic link, a pipe, or whatever ("unknown"). Then I'd like to execute a few instructions depending on the type. For instance, if it's … | |
check whether the answer is correct in sumbit box. I am stuck action = some website. It say sever 505 is not found. If user ebter a negative number how can I block it? | |
I very new to C Shell. I am trying to do is read from Command line. Find the if the file is zip, .txt, symbloic link,pipe, unknow (if file is not zip, txt, sy....) here is what I what got so far. I am very stuck atm Please help me … | |
Here is problem: I ask user for how many dogs do you have user enter 5 i go via for loop and add the name into arraylist and now i want to display like 1. Java 2. is 3. fun and so more.... not just 3 after I want to … | |
I know how made an arraylist but i dont know how make an arraylist inside an arraylist? let says: Alex age is 31 alex and age is gonna be in one arraylist alex 31 burren java burren and java is alex dogs; how can i store burren and java under … | |
I trying to understand the ArrayList let say the user input in 1st Person Name : Alex Sex : M Dog Name: Java 2 Person Name: Joe Sex: M Dog Name: Is 3 Person Name: Anna Sex : F Dog Name: Fun in Arraylist how can you separate out from … | |
Hello, Everything in code when well there is a small problem on display output: when I run the file this is the output i got 69 6E 74 20 6D 61 69 6E 20 28 29 20 7B 7D 0A my teacher have 0000 : 69 6E 74 20 6D … | |
a program to count the number of occurrences of words in a passage. The program will read white-space separated words from a file, convert all words to a single case, and remove any non-alphanumeric characters from both ends of the words. It is to count the number of each word, … | |
Here is what i got so far. I got stuck at white-space separated words from a file, convert all words to a single case, and remove any non-alphanumeric characters from both ends of the words. It is to count the number of each word, and then write to a file … | |
I dont know what is wrong. The output didnt show anythin. FYI I have p6.dat on same dic. it just the out put didnt print the number. #include <iostream> #include <fstream> using namespace std; const int mySize = 15; const int myStop = 3; void impliedTask(int *&,float *&); int main … | |
I got an error: -Functions that differ only in their return type cannnot be overload (#8) -Implicit conversion loses integer precision: "time_t'(aka "lomg") to unsigned int (#14) -Implicit cnversion loses integer precision: long to int (#18) -Functions that differ only in their return type cannnot be overload (#24) #include <iostream> … | |
I dont no how to fix. Can someone help me out plz. (Please see the picture) [IMG]http://i61.tinypic.com/2r2cfnq.png[/IMG] #ifndef DYNINTSTACK_H #define DYNINTSTACK_H class DynIntStack { private: // Structure for stack nodes struct StackNode { int value; // Value in the node StackNode *next; // Pointer to the next node }; StackNode … | |
I am to make a rev op on linked node but somehow i couldnt get to work. I got an error I am kinda stuck right now. The error is in gray Somehow and somewhere doesnt show the reverse link. Can someone show how to do the search node like? … | |
Hi, anyone like to offer some extra eyes on this problem? I am having trouble with the array pointer and with the variables. I don't seem to have the pointer set up because the additional times the array is called it is empty. Also, if I don't use integers the … | |
Here is question: Write a program that reads a string from the user containing a date in the form mm/dd/yyyy. It should print the date in the form March 12, 2012. #include<iostream> using namespace std; int main() { int mon; int day; int year; string month[] = { "January", "February", … | |
can anyone tell what did i wrong on this random number? http://pastebin.com/M3J9u5sR | |
cout << "Enter size of array: " << endl; cin >> size; cout << "Enter elements: "; for(i=0;i<size;i++) { cin >> array[i]; } | |
for (int index = 0; index < 200; index++) { if(find_array[index] < minimums[0]) { minimums[0] = find_array[index]; //Lowest number cout <<"The index is " << index << endl; // trying to find an index } } for (int index = 0; index < 200; index++) { if(find_array[index] < minimums[1] && … | |
I am trying do this pratice but some how the 2nd function did return. P.S>>Since english is my first lang. can some one explane to me this is right path that i am doing? here is question: Write a function that accepts an array of integers and its size as … | |
Here is what I try to do: The purpose of this program is to find the two smallest elements in several integer arrays, each containing 100 elements. The program will use functions with the prototypes: call the function Two_smallest to find the two smallest elements in the array and their … | |
I am creating 30 random from last function and the last function have pass the information to this one. I am using the bubble sort because i want to make a mode. But mode is not idea here. Anyway, it run but it show some crazy output. Here is the … | |
Random Number: Whenever I run it show me an error. Here is an error "implicit conversion loses integer precision 'time_t' (aka 'long') to 'unsigned int'", so i put change to `srand( (unsigned int) time(NULL) );` it run but it seem the number is not change at all. void read_array (int … | |
here is question: Write a function that accepts an array of integers and its size as arguments. The function should create a new array that is one element larger than the argument array. The first element of the new array should be set to 0. Element 0 of the argument … | |
How can i get this code to show once and it counting all the positive? When i enter a 10 numbers. it show The positive are.... The positive are.... The positive are.... The positive are... The positive are... ... until 10 can someone show me how to make it show … | |
Can someone kinda check this one to see what wrong with it? #include <iostream> using namespace std; int ture ( int a[], int b[], int d); int main () { int b [5]={1,2,3,4,5}; int a [5] ={1,2,3,4,5}; int total= ture(b, a, 5); cout << total << endl; } int ture … | |
When I try to add the two array together it show me 0? ` #include <iostream> using namespace std; int add_arrays(int a[], int b[], int n); int main () { int numbers[5]={1,2,3,4,5}; int numb [5] = {6,7,8,9,10}; int total= add_arrays(numbers, numb, 5); cout << total << endl; } int add_arrays(int … | |
here is what i have to do: take 2 double array of lenght 10 call a and b and return ture if they are equal and flase otherwise; and write a function that take a and b and return and array which store the sum of correspond elemets. can someone … |
The End.