- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 4
- Posts with Upvotes
- 4
- Upvoting Members
- 3
- Downvotes Received
- 28
- Posts with Downvotes
- 24
- Downvoting Members
- 16
77 Posted Topics
Re: Read here.... [URL="http://www.cprogramming.com/tutorial/c/lesson3.html"]http://www.cprogramming.com/tutorial/c/lesson3.html[/URL] | |
Re: I do not get any disavantage of OOP. It reduces programming complexity ,also complexity of writing code. One can find the error of coding in OOP easily. It divides a complex code in many different simple parts. Object is the main thought of OOP. A programmer can use many programs … | |
I am new to web development.Can anyone say how to start it?I mean that how can I start this cource? Please help. | |
Re: I have done a project like yours one.You do not mentioned any thing about your project. | |
[B]What would be a good project on networking?[/B] I am a second year IT student. I an learning about networking. Can any one give me idea about a good project? | |
Re: Hi mcddewitt, I am also learning Java.Some one has said from Daniweb that is to download JDK from oracle and also download notepad++.Then he sujest me to start by writing codes.But do not use Netbean IDE and Eclips at first.These are for the professionals who knows Java already. | |
Re: [CODE]if(ch = printf(""))[/CODE] I dont understand you condition. And If is not a loop. | |
Re: CDo you have done a programe to print a pyramid of "1" like..... 1 1 1 1 1 1 1 1 1 1 or..... 1 1 1 1 1 1 1 1 1 1 ?????????????????????? First wright some code yourself weather it is wrong or right. | |
How can I will identify the different classes of IP address? I have learnt that........ [B]Class A:[/B] 1st Octet 2nd Octet 3rd Octet 4th Octet Network ID Host ID Host ID Host ID [B]Class B:[/B] 1st Octet 2nd Octet 3rd Octet 4th Octet Network ID Network ID Host ID Host … | |
Re: I am not sure. But you can try it.... [CODE]String SQL = "SELECT * FROM sample "; Statement stmt = con.createStatement(); stmt = con.createStatement(); rs = stmt.executeQuery(SQL); jTextField1.setText(rs.getString(String.valueOf("column name from SQL table")));[/CODE] | |
Re: [B]Mark198995[/B] Is here any thing wrong in your last code? | |
Re: Hello Ensanvoration, Post you code like.... public class tst { public static void main (String [] args) { Scanner stdIn = new Scanner(System.in); String sentence = "This is the test."; char response; // user's y/n response ...... Thank you. | |
Re: Please post your mathematical formulas. Oh! you did not mention what programming language do you know(if any). Do you know c? You can read from here. [URL="http://www.cprogramming.com/begin.html"]http://www.cprogramming.com/begin.html[/URL] You can also read this book from online. [URL="http://www.steveheller.com/cppad/cppad.htm"]http://www.steveheller.com/cppad/cppad.htm[/URL] | |
Re: Do you have tried any code?If so , post it. | |
Re: I dont know whats wrong. but it could be Java database driver problem.Do you have installed the SQL connector for Java? | |
I am new in Linux operating system. Can any one tell me which one is best....Red hat , Mint , solaries. | |
[B]Input[/B] The input begins with two positive integers n k (n, k<=10^7). The next n lines of input contain one positive integer ti, not greater than 109, each. [B]Output[/B] Write a single integer to output, denoting how many integers ti are divisible by k. my code is......... [CODE] #include<stdio.h> int … | |
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 … | |
Whats wrong with this code.... [CODE]#include<iostream> #include<conio.h> using namespace std; int main() { int x,y; cin>>x>>y; while(1){ if((0<x<=2000)&&(0<=y<=2000)) { if((x<=y)&&(x%5==0)) cout<<y; //else if((x/2)>y) // cout<<y; // else // cout<<y; else { break; } }} getch(); return 0; } [/CODE] I want to print the single value of y.I do not … | |
Re: I think it will work...... use goto statement where you want to start. | |
Can any one say why the [B]break[/B] state does not work. [CODE]#include<stdio.h> #include <stdlib.h> int main() { int n; loop: scanf("%d",&n); if(n!=42){ printf("%d",n); goto loop;} else { break; } return 0; } [/CODE] this is my code. | |
Re: There are many books on Algorithm.If you are not interested in books , you can search some algorithms by google.It will be helpfull. | |
Re: Yes here is some problems in your code.You have to update your code like..... [CODE]#include<iostream> #include<conio.h> using namespace std; int main() { int i,j; cout<<"1"; cout<<endl; for(i=1;i<5;i++) { int k=1; for(j=1;j<i;j++) {while(k<=i) {cout<<k; k++; } }cout<<endl; } getch(); return 0; } [/CODE] | |
Re: It works correctly.himgar is right. | |
Re: In which sector you have interest such as games , database etc...... | |
Re: Just go to Google. | |
Re: you declare two frame in the main method.For this reason these two open at a time. Delete this.... [CODE]//MainFrame Window MainFrame seal = new MainFrame(); seal.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); seal.setSize(200,150); seal.setVisible(true); seal.setResizable(true);[/CODE] I think now you can solve the problem..... | |
Re: lena1990 Can you post your full code at least where these problems arise.Otherwise I could not understand your problem. | |
Re: There are many tutorial in google.[URL="http://www.roseindia.net/java/"]http://www.roseindia.net/java/[/URL] [URL="http://www.java2s.com/Tutorial/Java/CatalogJava.htm"]http://www.java2s.com/Tutorial/Java/CatalogJava.htm[/URL] ok..... | |
Re: Hey adri00713, NormR1 is right.First you have to design your system.I have done a project in Java(Admission test management system) few months ago. I also have to design my system first. So bro..first do this. like...... which information do you want to store in your database,which data you want to … | |
Re: First write some code, Visit here for array.... [URL="http://www.roseindia.net/java/beginners/arrayexamples/index.shtml"]http://www.roseindia.net/java/beginners/arrayexamples/index.shtml[/URL] [URL="http://www.learn-java-tutorial.com/Java-Arrays.cfm"]http://www.learn-java-tutorial.com/Java-Arrays.cfm[/URL] [URL="http://www.java-samples.com/showtutorial.php?tutorialid=234"]http://www.java-samples.com/showtutorial.php?tutorialid=234[/URL] First achieve some knowledge of Java. | |
Re: meyumi_lelouch Try it...... #include <iostream> #include <stdio.h> #include <conio.h> #include <cstdlib> using namespace std; int main() { int choice,desc; char enter; cout<<"\t\t\t\tPhilippine National Heroes\n\n"; cout<<"[1]Dr.Jose Rizal\n"; cout<<"[2]Andres Bonifacio\n"; cout<<"[3]General Gregorio Del Pilar\n"; cout<<"[4]General Emilio Aguinaldo\n"; cout<<"[5]Apolinario Mabini\n"; cout<<"[6]GOMBURZA\n"; cout<<"[7]Trece Martirez\n"; cout<<"[8]Emilio Jacinto\n"; cout<<"[9]General Antonio Luna\n"; cout<<"[10]Melchora Aquino(Tandang Sora)\n"; cout<<"[11]Graciano Lopez … | |
I can not run this program in my C++ compiler(Dev c++). [CODE]#include <iostream.h> #include <conio.h> #include <graphics.h> #include <ctype.h> #include <stdlib.h> #include <stdio.h> int main() { // clrscr(); int gd = DETECT,gm,errorcode; //Requesting auto-detection. //Initializing graphics and local variables. initgraph (&gd, &gm, "d:\\bc3\\bgi"); //Path where graphics drivers are installed //Read … | |
Re: Here is a command in MySQL UPDATE table_name colomn_name="updated_data",colomn_name="updated_data" (WHERE primary_key="a_data"); Try this structure. | |
[CODE]#include<iostream> #include<cstdlib> #include<conio.h> using namespace std; int main() { int i,j=0; cout<<"1"; for(i=1;i<=55;i++){ if(j>12) break; else{ if(i%2==0||i%3==0||i%5==0) j++; } } getch(); return 0; } [/CODE] This is my code .I want to print the numbers whose only prime factors are 2, 3 or 5. The sequence 1, 2, 3, 4, … | |
Re: Just use the header file #include<conio.h> It supports getch(). | |
I want to print a pyramid like this..... ***** **** *** ** * This is my code.....[CODE]#include<iostream> #include<conio.h> using namespace std; int main() { int i,j; int b; char* sp=" "; cin>>j; for(int a=j;a>=1;a--) { for( b=a;b>=1;b--) cout<<"*"; cout<<endl; for(int k=1;k<b;k++) cout<<sp; } getch(); return 0; } [/CODE] But it … | |
Re: /* Function definition--ascending */ [CODE]for(x=0;x<10; x++) for(y=x+1;y<=10; y++) { if(fUserArray[x] > fUserArray[y]) { temp = fUserArray[x]; fUserArray[x] = fUserArray[y]; fUserArray[y] = temp; }//end if }//end for loop[/CODE] For sorting a list of one dimention you will need two for loops. | |
Re: You will need two different connections for two different tables. | |
Re: IF YOU WANT TO PRINT ! TO 35. tHEN THE PROGRAM WILL BE [CODE]for(i=0;i<=35;i++) cout<<i;[/CODE] Your question is not clear to me. Please submit what you have tried. | |
Re: The name of your Jframe is MyForm. You have to declare a object of MyForm type as ROVY has said.... [code]MyForm Firm =new MyForm(); Firm.setVisible(true);[/code] in the class " Firm ". Then it will looks like........ [CODE]public class Firm { //---------------------------------------------------------- // Creates a staff of employees for a firm … | |
[B]I have instalied RedHat. But i can not pertitioned it. How can i will do this? Please help.[/B] |
The End.