Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+4
Strength to Decrease Rep
-1
14% Quality Score
Upvotes Received
4
Posts with Upvotes
4
Upvoting Members
3
Downvotes Received
28
Posts with Downvotes
24
Downvoting Members
16
13 Commented Posts
~36.5K People Reached
Favorite Tags
Member Avatar for pittdaniweb

Hello everybody, I was asked by an interviewer the following question. but I was not able to answer. Please get back to me if you know the answer. thank you in advance. Que: What is the exact difference between the "for" loop and "while" loop in C language ?

Member Avatar for rajii93
0
794
Member Avatar for supriya badam

Wat is the size of string?does string have specific size..??as like integer... Float.. Double.. Char...??

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

hai , I am using turbo c compiler, the system() function always return -1. i can't run any dos command using system() function i can't use system() properly please help me !!! ex: [CODE] #include<stdio.h> #include<conio.h> #include<stdlib.h> void main() { int i ; i=system("dir"); printf("%d",i); getch(); } [/CODE]

Member Avatar for deceptikon
0
1K
Member Avatar for Sadun89
Member Avatar for snipsala
0
331
Member Avatar for Anuradha Mandal

I am new to web development.Can anyone say how to start it?I mean that how can I start this cource? Please help.

Member Avatar for buburuzza
0
94
Member Avatar for taga1989

M just an infant to java..just kno the ABC.. m tryin to work in small projects like address book...so can i get help like how to start...

Member Avatar for muthu@tent
0
149
Member Avatar for Anuradha Mandal

[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?

Member Avatar for smferoz
-1
118
Member Avatar for mcddewitt

I need help in deciding a good path in learning Java. I have recently passed my Data Structures course and although I still have issues and sometimes need to look thinks up, I feel I have a strong enough grasp to move on with my becoming proficient in Java. I …

Member Avatar for hag++
0
184
Member Avatar for kylelendo

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 …

Member Avatar for Narue
-1
226
Member Avatar for amrita111

[CODE]#include<stdio.h> int main() { char ch; if(ch = printf("")) printf("It matters\n"); else printf("It doesn't matters\n"); return 0; }[/CODE] Here according to me, the expression inside "if" will be true becoz we have used "=" sign and not "==" sign. but the output is "It doesn't matters".how is it so?

Member Avatar for Narue
0
210
Member Avatar for chamnab
Member Avatar for Anuradha Mandal

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 …

Member Avatar for maninaction
0
622
Member Avatar for aldeene

why this code is not working?, error: non-static variable jTextField1 cannot be referenced from a static context [CODE]try{ Connection con = DriverManager.getConnection("jdbc:mysql://localhost/sample", "", ""); Statement stmt = con.createStatement(); ResultSet rs = stmt.executeQuery("SELECT name FROM testtable"); while (rs.next()){ String n = rs.getString("name"); jTextField1.setText(n); } stmt.close(); con.close(); }catch(Exception e){ [/CODE]

Member Avatar for Onlineshade
0
1K
Member Avatar for .:Pudge:.

I have been trying to support certain built in commands such as 'cd' and 'help'. If I do 'ls' or 'mkdir' it executes them fine and they do what they are supposed to. If I type the command 'help' I get a segmentation fault and if I type 'cd' it …

Member Avatar for nezachem
0
201
Member Avatar for Mark198995

HEY im pretty lost i need to make a program where user has in enter a name and after it has been entered it has to repeat the name 100 times can someone please help me im fairly new and i cant get it to work =/. this is what …

Member Avatar for Mark198995
0
148
Member Avatar for Ensanvoration

Here is what I have so far... [code]import java.util.Scanner; 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 int ctr = 65; do { System.out.print ("Would you like to …

Member Avatar for Ensanvoration
0
150
Member Avatar for thinkingofaname

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 …

Member Avatar for Onlineshade
0
129
Member Avatar for techy23

[I][B]Please help me with star patterns or anything with a patterns like 'x' in C++. What ois the logic behind it[/I]. [/B] x x ******** xx xx ******* xxx xxx ***** xxxx xxxx *** xxxxx xxxxx ** [B][I]these might look easy, but i dont get the logic. please give detailed …

Member Avatar for Onlineshade
-1
100
Member Avatar for aldeene

anyone have a link? I want to display data on the GUI that I made using NETBEANS.. I started learning java today, I got error non-static variable jTextField1 cannot be referenced from a static context. [CODE]Connection con = DriverManager.getConnection("jdbc:mysql://localhost/sample", "", ""); Statement stmt = (Statement) con.createStatement(); String select = "SELECT …

Member Avatar for JamesCherrill
0
125
Member Avatar for newbie14

Dear All, I got an application which have many sql select statement and some are done withing the outler select statement. The problem is that sometimes I get this error com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after statement closed.? What could be the cause is it because I am using the statements …

Member Avatar for JamesCherrill
0
152
Member Avatar for Anuradha Mandal
Member Avatar for Anuradha Mandal

I am new in Linux operating system. Can any one tell me which one is best....Red hat , Mint , solaries.

Member Avatar for jbennet
-2
130
Member Avatar for Anuradha Mandal

[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 …

Member Avatar for Narue
0
85
Member Avatar for Anuradha Mandal

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 …

Member Avatar for himgar
0
108
Member Avatar for Anuradha Mandal

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 …

Member Avatar for Narue
0
118
Member Avatar for werdna347

[CODE] cout<<"What HTH level are you (1,2,3): "; cin>>hthLevel; switch(hthLevel){ case 1:out<<"Hand to hand level= 1"<<endl;break; case 2:out<<"Hand to hand level= 2"<<endl;break; case 3:out<<"Hand to hand level= 3"<<endl;break; default: cout<<endl<<"Incorrect"; }[/CODE] Need to know how to loop this so if 1,2 or 3 is entered it continues but if an …

Member Avatar for Cross213
0
281
Member Avatar for Anuradha Mandal

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.

Member Avatar for Anuradha Mandal
0
98
Member Avatar for anwaryp

I am looking for computer algorithm that not in my directory codewordblog.blogspot.com. please inform me your suggestions........

Member Avatar for adam_k
-1
151
Member Avatar for aloi93

This is what i've made so far. [CODE]#include <iostream> #include <conio.h> using namespace std; int main() { int b=1; for (int i=1; i<=5; i++) { for (int k=1; k<=i; k++) { cout<<b; b++; } cout<<endl; } getch(); return 0; } [/CODE] The output is as below 1 23 456 78910 …

Member Avatar for Anuradha Mandal
0
382
Member Avatar for BlackHawck

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 …

Member Avatar for Anuradha Mandal
-1
707