- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 4
- Posts with Upvotes
- 4
- Upvoting Members
- 1
- Downvotes Received
- 3
- Posts with Downvotes
- 2
- Downvoting Members
- 2
Re:
Wat is the size of string?does string have specific size..??as like integer... Float.. Double.. Char...?? |
|
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, … |
|
[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 … |
|
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; … |
|
Re:
I have problem in this c program [CODE] #include <stdio.h> int main() { int this_is_a_number; printf( "Please enter a number: " ); scanf( "%d", &this_is_a_number ); printf( "You entered %d", this_is_a_number ); getchar(); return 0; }[/CODE] when i press ctrl+F9 the output screen appears " Please enter a number:" and … |
|
Re:
hey im a new coder and the reason im getting into coding is to do some mathematical tests ive created several mathematical formulas that i want to turn into a program i dont have the c++ know how to do this though. what im wondering is if anyone would like … |
|
Re:
please help me understand when does one use *n=m and when to use n=&m [code]int *n,m; *n=5; m=2; *n=m;[/code] //gives an error |
|
Re:
Hi, i am using css for my website it works properly in google chrome but while using internet explorer there is alignment issues... page contents are not properly aligned. is there any solution for css so that it will not be browser specific. My css code is given below.. [CODE] … |
|
Re:
how do I set a div that is when empty from content would have a certain height, and if content takes more space the div would expand it's height to fit all the content? basicly I have a bunch of pages that go like this- <body> <div> ..contant.. </div></body> , … |
|
Re:
Hello, I am trying to figure out how to get the rand() function to include 0. [CODE]int value = rand() % range + 1;[/CODE] No matter what I set range to be, the lower bound is always 1. |
|
Re:
plz solve ... [CODE]int main() { const int m=10; int &n=m; n=11; printf("%d%d",m,n); }[/CODE] can w declare &n...its not an error... |
|
Re:
Hello, I am trying to get the return value from the next_number function up to the makefile function. I am getting an error that says next_number does not have a class type. EDIT: the error is "return statement with a value, in function returning 'void'" I don't understand why it … |
|
Re:
Which one is update software for c++ and c language. Some practice center such as Codechef,, Uva online judge , I submit a right code but they said the code has compiling error such as it does not familiar with conio.h,getch() etc. I use Dev c++. How can I solve … |
|
I want to know how the structure of C++ program resembles to a client server architecture? |
|
Re:
Look at this program compiled using [I]Turbo c++ 3.0 compiler[/I] Aim is [B]to calculate the factorial of a no[/B]. [COde]#include<iostream.h> #include<conio.h> long double factorial(int); void main() //main function { int inp; clrscr(); cout<<"Enter a positive no. "; cin>>inp; cout<<"factorial is :"<<factorial(inp);//displays factorial getch(); } long double factorial(int a) { long … |
|
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 |
|
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"); … |
|
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 … |
|
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. |
|
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. |
|
[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 … |
|
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 … |
|
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 … |
|
Will google index my site which is created using a subdomain my site is : [url snipped] |
|
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. … |
|
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. |
|
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. |