- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
34 Posted Topics
Hello; can any 1 explain to me how to find the miniumum spanning tree for a graph ? see this graph as an example : | |
Hello; i wrote this code for a star triangle , but it told me it contains some errors , Do any 1 can help me plz ? it should be like this : [CODE]******* ***** *** *[/CODE] [CODE]include <iostream> #include<cmath> using namespace std; int main() { int n=4; for ( … | |
Hello; can we give the variable in struct an initial values ? ex: struct example{ int id; float gpa; string name; }; can we but this inside the structure : int id=34440; the same Q is for the Class ? can we intialize the variable when definr it for the … | |
Re: I think that in Class you can define functions and other variables But in structure you only can define normal variables like int or float or even other struct variable | |
hello; can U plz explain this Q for me, i do not know how to solve it ? Rational fractions are of the form a / b, where a and b are integers and b ≠ 0. In this assignment, by "fractions" we mean rational fractions. Suppose a / b … | |
hello ; here is a quastion . i understand it until the red senence , i do not know what dose it mean mathematically ? Write a program that prompts the user to input a positive integer. It should then output indicating whether the number is a prime. Note: an … | |
Hello; read this quastion , what do the last part mean ? do they mean to print the remine cookies that have to be produced to let the number be complated ! or to print the number of cookies that we throw ! -------------------------------------- [B][U]the quastion is :[/U][/B] A box … | |
hello; can we say this when defining an enumeration : enum letter{A=4,B=3,C,D,E}; i mean give letter B value smaller than the value of the letter A , is it possible ? and what is the real benifet of the enumeartion in general ? sometimes when making "cout" statement , the … | |
HELLO; see this quastion , i tried to solve it , but there is sometjing wrong , i do not know it because no errors accur ! [COLOR="Green"]A 5 letter word x is hidden in a string y such that the first two letters of x are the first two … | |
[ICODE]#include <iostream.h> main() { int n, k = 5; n = (100 % k ? k + 1 : k - 1); cout << "n = " << n << " k = " << k << endl; return 0; } [/ICODE] How the value of n become "4" ? … | |
hi; here is a part of my ERD "Hotel Reservation system" and there is a relationship with 3 entities included in it. they are: customer Reservation Room the relationship between them is "assign to" I make it as 1 to 1 relationship and i want to know than , how … | |
hi; do any 1 here can give the patch or serial number for the " Audio Editor Studio 1.9 " i search and search , but with no result ? | |
hi; i have just downloaded the microsoft office 2007 in my PC and when open the microsoft word and others this msg appers saying this ( in the picture below ) and when press next , no thing happens , just saying that the key used is not possible and … | |
hello; while downloading the Microsoft visual C++ from a CD , a massage appers to me saying that it can not read a specific file and then another massege after the installing complate saying that the installation was not sucsseful the problem start then in the program it self , … | |
hi; when puplishing a movie.dcr on the web and if this movie containing an animation picture , it does not appear to the user only the text and the other simple picture why it happen . and how to solve it ?? this picture appear when do it ![]() | |
hi; we are going to make project using director mx2004 its may be education and learning project. just need your ideas and suggestion to help and take some of your experience have any 1 here make a similsr project before. | |
Good morning; Do any 1 here know how to get the value stored in a global variable from other movie? to use it in current movie? Example: in movie one.dir there is a global called name stored the name in movie two,dir i need to use that global name to … ![]() | |
hope get help in this code; its for a calculator when the user press "=" that containing this script the answer should apear at first of all i make sprite(2) as the space which the process will apera this is my code ; it dose not work !! [CODE]on mousedown … | |
can any 1 here give me a similar product for the sound card. I want to compare sound card with similar product , but i do not know any . | |
hi; is there any diffrent between flash disk and flash drive or they are the same bcs i want to write about them (component , how work and comparison to other similar product ) ? | |
hi; this for circular link list type , its to check whether a word is palindrom or not . it dosen't work ! can you check it this the insert function : [CODE]void InsertLast(const elemtype &Item) { Node <elemtype>*temp; temp=new Node<elemtype>; if ( temp==NULL) { cout<<"Full memory"<<endl; return; } temp … | |
Hello; i have this Question and need your help, i do not know how to solve it; [B]Problem:[/B] Write a member function called [B]countNodeWithNoRchild[/B] that will return the number of nodes in a BT(binary Tree) does not have a right child. (Hint: a leaf node also does not have a … | |
Hi; please check my code i am sure that everything and every statemnt is correct but the output is not true. this code is to show what the array a and b contain also it show their dot product . [CODE] include irvine32.inc .data a byte 1,3,5,7,9 b byte 2,4,6,8,20 … | |
Hi; can you check this for me : [code] Time Time::operator-( Time & other, Time & other2) { Time t3; t3.hrs=fabs(other.hrs-other2.hrs); t3.mins=fabs(other.mins-other2.mins); t3.secs=fabs(other.secs-other2.secs); return t3; } bool Time::operator!=(const Time &other) { return (hrs!=other.hrs || mins!=other.mins || secs!=other.secs); } [/code] this error apear while runing the prog. [code] : error C2804: … | |
Hello; steps are correct; there is no error ; but when running the prog. this what apear :(its in attach) this is my code and the main: [code] template<class Type> void sortQueue(queueType <Type> & q1) { queueType <Type> q2; queueType <Type> qresult; Type min=q1.front(); q2.addQueue(min); while(!q1.isEmptyQueue()) { q1.deleteQueue(); while(!q1.isEmptyQueue()) { … | |
Hi; How can i see the output in assemply (Textpad prog. )? i jnow that to check flags , we go to commend prompt , But where to go to see the output of the programe for example if we have a pro. ton ask the user to enter his … | |
Hi; need your help , now i want a hint for this question to know how to solve it : [code] template <class T> void sortqueu(queueType <T> & q); [/code] this function is to sort all elements of that queue . using queue operation only (it is not a member … | |
Good night; can you see this function ; its true but the only error is : missing ';' before 'return' missing ';' before '}' missing ';' before '}' missing ';' before '{' missing function header (old-style formal list?) but there is no ; missing , i checked it twice this … | |
Re: [quote=jenco;359416]Hi, Is there someone out there who can help. I've written some simple functions, on the same page as the main code: [code] bool IsAVowel (char ch) { if[COLOR=red](ch=='a')|| (ch=='e') || (ch=='i') || (ch=='o') || (ch==''u)[/COLOR] { return true; } return false; } [/code] The compiler message gives 'linker error' … | |
[COLOR=red][U]its about Data Structure[/U][/COLOR] [U][COLOR=#ff0000][/COLOR][/U] [COLOR=#ff0000](in doubly link List )[/COLOR] [COLOR=#ff0000][/COLOR] [COLOR=#ff0000]this is my function [/COLOR] [COLOR=blue]bool search( T item) { nodetype <T> *cur; bool found; cur=first; while(cur!=NULL && !found) { if((cur->info).name==item) return true; else cur=cur->next; }[/COLOR] [COLOR=blue] return found; }[/COLOR] [COLOR=#ff0000][/COLOR] [COLOR=#ff0000]and this is the error :[/COLOR] [COLOR=#ff0000][/COLOR] [CODE] … | |
Hello; can any 1 tell me what is the answer for the following statement : 1%10 and 1%2 :) | |
[COLOR=darkorchid]Good afternoon;[/COLOR]:) [COLOR=darkred]what is wrong in this code ,[/COLOR] [COLOR=darkred] its job to print a name in reverse order[/COLOR] [code] name dword 20 dup(' '),0 . . . . . mov edx,offset name mov esi,offset name mov ecx,lengthof name L7:mov edx,[esi] call writestring dec esi loop L7 [/code] [COLOR=darkred]when running … | |
Hello; after writing a program in Textpad , i tried to Build using "Build 32-bit MASM" But the black screen disappeared quickly , and no thing there. Now, i want to know if ther is any errors .:?: How can i solve this problem & please, see if this code … | |
Hello; can any one help me to know how to check that my code is corrsct in Textpad ? there is no output like C++ ;so it make proplem fpr me . this is the code : [code];Assi#1 .model small .stack 100h .data F1 sword 12 dup(12,4,7,-8,1,10,8,-4,20,44,3,-9) F2 sword 12 … |
The End.