Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
51% Quality Score
Upvotes Received
4
Posts with Upvotes
4
Upvoting Members
1
Downvotes Received
3
Posts with Downvotes
2
Downvoting Members
2
2 Commented Posts
0 Endorsements
Ranked #2K
~12.4K People Reached
Favorite Tags

28 Posted Topics

Member Avatar for supriya badam

Yes! string doesn't have any specific size like int,float,etc. For eg. char a[20]; Here string a is of size 20 bytes, char b[10]; Here string b is of size 10 bytes and so on.

Member Avatar for irum.nageen.3
0
2K
Member Avatar for himgar

I want to change the color of the text in c++. I am using Turbo c++ 4.5 and Windows XP. I have used that textcolor(14) type code but it didn't work. It says : Call to undefined function "textcolor" in function main I have included header files iostream.h, conio.h, windows.h, …

Member Avatar for renel.c.allauigan
0
4K
Member Avatar for himgar

[code] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <table style = "width : 500px; border : 1px solid black;"> <tr> <td style = "height : 100%; border : 1px solid;"> 1st TD </td> <td rowspan = 2 style = "border : 1px solid;"> </td> <td rowspan = 2 style …

Member Avatar for teedoff
0
148
Member Avatar for himgar

I have implemented Bubble Sort. How to add counters in the program so that I can calculate and display the Best Case, Worst Case & Average Case Time Complexity of this program? [code] #include <iostream> using namespace std; void bubbleSort(int arr[], int n); int compb = 0, compw = 0; …

Member Avatar for grh1107
0
196
Member Avatar for kylelendo

Add the header file <conio.h> and put getch() at the end of main() function before return statement and see if it works.

Member Avatar for Narue
-1
232
Member Avatar for thinkingofaname

Here's a book for you to have your concepts clear: [url]http://bit.ly/qmRTsK[/url]

Member Avatar for Onlineshade
0
135
Member Avatar for now how abt tht

if n is a pointer i.e. int n*; and m is a simple integer i.e int m; then you use n=&m to store the memory address of m into n. And you use *n=m to store the value of m into n. * is called the Value at Operator & …

Member Avatar for jnawrocki
0
132
Member Avatar for nikita.chandra

visit w3schools.com to find out some differences in syntax of CSS for IE and Chrome

Member Avatar for himgar
0
143
Member Avatar for supriya badam
Member Avatar for 54uydf

See this: [url]http://www.codingforums.com/showthread.php?t=142757[/url]

Member Avatar for himgar
0
65
Member Avatar for coolbeanbob

Yes! rand() function generates numbers from 0 to randmax. See this reference: [url]http://www.cplusplus.com/reference/clibrary/cstdlib/rand/[/url]

Member Avatar for Fbody
0
176
Member Avatar for sydsine

&n is a reference variable. We can't use ref variables in C. However, it can be used in C++.

Member Avatar for himgar
0
326
Member Avatar for coolbeanbob

[QUOTE=coolbeanbob;1633965]The program does not run when I put the destructor after the private function.[/QUOTE] Destructor must be in the public section to enable it to destruct the object after its job.

Member Avatar for himgar
0
122
Member Avatar for Anuradha Mandal

I recommend you to use Express Edition (Free) of Microsoft Visual Studio if you want to be really a programmer. You can find the VS from Microsoft site.

Member Avatar for himgar
0
112
Member Avatar for himgar

I want to know how the structure of C++ program resembles to a client server architecture?

Member Avatar for himgar
0
85
Member Avatar for BlackHawck

I also tried your program in Turbo C++. It worked and giving the result as expected. I can understand your problem of using turbo c++ as I myself has undergone through such condition. Also, I would suggest you to write int main() rather than void main() because the latter is …

Member Avatar for Anuradha Mandal
-1
752
Member Avatar for himgar

I have set two environment variables for JAVA JDK. 1. PATH=C:\Program Files\Java\jdk1.6.0_26\bin;%PATH% 2. CLASSPATH=C:\Program Files\Java\jdk1.6.0_26\lib\tools.jar When I compiled the file using javac it was done successfully but when I ran the file using java command I got the following error: Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorld

Member Avatar for rajatarora612
0
196
Member Avatar for himgar

I want to print the following sequence. __* _*** ***** _*** __* Here _ denotes space. I have written half program to print upto 5 stars and not able to get for down. [CODE] #include <stdio.h> void main() { for(int i=1;i<=3;i++) { for(int j=1;j<=3-i;j++) printf(" "); for(int k=1;k<=(2*i-1);k++) printf("*"); printf("\n"); …

Member Avatar for L7Sqr
0
87
Member Avatar for himgar

I had written a program [code] #include <fstream.h> void main() { fstream f; f.open("test.txt",ios::app|ios::in|ios::binary); cout<<f.tellg(); f.close(); } [/code] My file test.txt already contains text : " hello " i.e. 5 characters But when i try this it outputs only 0 but ios::app mode places the pointer at the end of …

Member Avatar for Salem
0
85
Member Avatar for himgar

I am using CodeBlocks c++ compiler. I want to generate 11 digit random number as i am working on my computer project. How can i do this? and everytime a new random number.

Member Avatar for Acute
0
2K
Member Avatar for himgar

Since gotoxy() function can have maximum values (35,25) I want to know is there any alternative to this which i can use in Turbo C++ 4.5 version. I have to make a project and therefore i urgently require a one for a better look of my project.

Member Avatar for Ancient Dragon
0
115
Member Avatar for himgar

[code] #include <iostream.h> #include <conio.h> int main() { cout<<"hello"; textcolor(2); cprintf("hello"); return 0; } [/code] Errors i am getting : call to undefined function 'textcolor' in function main call to undefined function 'cprintf' in function main I am using Turbo c++ 4.5 Windows XP SP2 Also graphics.h header file is …

Member Avatar for necrolin
0
102
Member Avatar for himgar

I have Turbo C++ IDE 3.0 the one that has blue working environment. Problem that i face is that when i run any program it only shows the black screen for about 3 seconds without any output and then automatically closes. I can't check the output because of this. Please …

Member Avatar for siddhant3s
0
327
Member Avatar for himgar

i have submitted my site to google webmasters tools [url]http://www.home-remedies.freecp.net[/url] and when i verify it it shows me the following error : We've detected that your 404 (file not found) error page returns a status of 200 (Success) in the header. However i am able to access the page that …

Member Avatar for InsightsDigital
0
55
Member Avatar for himgar

Will google index my site which is created using a subdomain my site is : [url snipped]

Member Avatar for almostbob
0
106
Member Avatar for himgar

I have a problem with my tv capture wdm card when i saw it in device manager having an yellow exclamation mark on it. In properties the details shown are: [B]Under general tab:[/B] Device status:"This device is not working properly because Windows cannot load the drivers required for this device. …

Member Avatar for ddddyyyyy
0
156
Member Avatar for himgar

I have created a page in microsoft publisher and created a navigation bar and formatted it but when i duplicate the page the bar changes its appearance i.e. it doesn't look like what i have created in my first page.

Member Avatar for JugglerDrummer
0
72
Member Avatar for himgar

I am creating web pages using microsoft publisher and i want to insert adbrite codes into my page but i don't know how to insert the code so that the ad appears on the page when i open it. Please help me.

0
81

The End.