Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
50% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
Member Avatar for challarao

Hello all, Yesterday, I did a regrettable action.... I opened disk management and made c drive as an active partition.Now the computer says bootmgr is missing(at start up). When I tried to recover from recovery area of hard disk by clicking assist button on Vaio it didn't work.It showed windows …

Member Avatar for SaintAce
0
1K
Member Avatar for challarao

Hi all, Some laptops come with dedicated gpus while some laptops come with integrated gpu. I bought a Sony Vaio laptop with Intel core i5-2450 and Nvidia graphics card.... Does my laptop graphics( like windows aero) work even If I disable the Nvidia driver.... What do I have to in …

Member Avatar for challarao
0
404
Member Avatar for Start4me

Hello. I'm quite new to Java, but I've worked on Graphics before. I have a couple of questions which are: I want to make a night sky in Java with stars which randomly switch to big stars from small and back, repeating for a set time. I also want the …

Member Avatar for JamesCherrill
0
366
Member Avatar for challarao

Hi all, A question asks me to write overloading functions to square,circle ,rectangle and triangle.... But since the square and circle have only one parameter I had to change the parameter of area of circle to double...... Is this the only way to accomplish this..... Are there any other ways …

Member Avatar for stultuske
0
193
Member Avatar for challarao

Hi all, A problem asks me to create a point class,line class composing two points, a triangle class composing three lines.Also a right angle triangle and an equilateral triangle class both inherit triangle class.I did this. public class Point{ private int x; private int y; public Point(int x,int y){ //error …

Member Avatar for jalpesh_007
0
192
Member Avatar for challarao

hi all, In the book "Programming Languages-Pragmatics" second edition by Michael l. Scott and Morgan Kaufmann, there is a sentence while explaining about copy constructor: "In recognition of this intent, a single-argument constructor in C++ is called a copy constructor." This is about the constructor of the form foo::foo(const foo& …

Member Avatar for mike_2000_17
0
1K
Member Avatar for challarao

Hi all, I came to know that in Java or c++, constructor is executed only after the allocation of space.... Then what does an implicit default constructor(in c++) or default constructor in Java does....? If we explicitly define our constructor then the initialization will be done according to our needs! …

Member Avatar for JamesCherrill
0
296
Member Avatar for roverphoenix

A simple program to calculate permutations of a string using recursion, I have used a malloc string of size 100 , you can change it to whatever value you want. The author is currently working at Microsoft,any questions can be directed to [email snipped]

Member Avatar for roverphoenix
0
417
Member Avatar for challarao

Hello, I wrote two programs which sort first names which are already sorted by their last names.One is with Selection sort and the other is with Quicksort! The question is , "is any one of them stable?." "If the names with same first names are still in sorted order by …

Member Avatar for WaltP
0
321
Member Avatar for twistercool

Just a Question on C programming basic some instructors have different ways of using either getche() or return 0; as bottom code on main function. Which is more better to use getche() or return 0;?[code]Getche() vs return 0;[/code]

Member Avatar for Moschops
0
274
Member Avatar for challarao

Hi.... I wrote a program for Quick Sort algorithm.... It is compiled fine....but it is giving a run time error i.e., Segmentation Fault.... I tried hard but couldn't find out what is that thing causing segmentation error in this program.... Please help.... I'm getting segmentation fault very frequently (i'm using …

Member Avatar for challarao
0
437
Member Avatar for challarao

I wrote this program for insertion sort.I compiled the source file in xubuntu terminal.But when I try to run a.out executable....terminal showing "segmentation fault".I don't about segmentation fault..when segmentation fault occurs...what is the thing in the source file that is causing segmentation fault... Thanks in advance...... [CODE]#include<stdio.h> main(){ int i,j,n,key; …

Member Avatar for challarao
0
366
Member Avatar for challarao

Hi, I got a doubt about for loop while i was thinking about time complexity.... Is increment operation in for loop a two steps operation i.e., increment i and assign it the i or an one step operation just like just incrementing it? Is there any pointer operation involved in …

Member Avatar for challarao
0
143
Member Avatar for Luckychap
Member Avatar for Adak
0
2K
Member Avatar for challarao

Hi,please help me! I wanna write a program for gauss jordon elimination ,for that I need to sort/exchange the rows such that the rows are in order of their increasing zero elements before non zero element in each row like below suppose, input 0 0 3 4 5 0 3 …

Member Avatar for Adak
0
175
Member Avatar for challarao

Hi! I have written a function for passing a string into it and finding its length. When I pass a string it prints a correct value. But when I take two strings and passing them individual len(str1),len(str2) after scanning two strings it returns the wrong value. In the first case …

Member Avatar for Banfa
0
106
Member Avatar for challarao

Hi! I have been learning c language on linux for two months.Today I have changed to Windows and don't know how to ,where to write programs and compile them and execution.Please exlain me. (Windows-7,acer) Thanx.

Member Avatar for Auraomega
0
198
Member Avatar for challarao

Hi, I am using ubuntu linux system.In that I am unable to use strrev() function for reversing a string.Is there any library function in linux equivalent to strrev(). Thanks in advance.

Member Avatar for sree_ec
1
4K
Member Avatar for challarao

Hello! I have a small doubt about formal specifiers. I have seen in many programs of printf statements,writing "%2d".What is the use of writing an integer before d or any formal specifiers. Thanks in advance

Member Avatar for creeps
0
97
Member Avatar for challarao

Hi! The following program gives the integer value of char string as output.Suppose if we give "1998",it will give integer 1998.In [CODE]i=i<<3+i<<1+(*string-'0')[/CODE]I understood that it will multiply i by 10,but in *string-'0' I don't know what is going there..?.Here what refers string is it index in 1998 or whole 1998. …

Member Avatar for Ancient Dragon
0
116
Member Avatar for challarao

Hi! The following program gives the integer value of char string as output.Suppose if we give "1998",it will give integer 1998.In [CODE]i=i<<3+i<<1+(*string-'0')[/CODE]I understood that it will multiply i by 10,but in *string-'0' I don't know what is going there..?.Here what refers string is it index in 1998 or whole 1998. …

Member Avatar for Ancient Dragon
0
103
Member Avatar for challarao

Hi! I have seen a function to do "atoi for converting a string to its numeric equivalent. It copes with optional leading white space and an optional + or - sign. " The structure of the program reflects the form of the input: skip white space, if any get sign, …

Member Avatar for Adak
0
120
Member Avatar for challarao

Hi! I wrote a program on iteration of numbers means-- if n=10 ---n=10/2=5 5 is odd so 3(n)+1 upto getting 1. Here is program [CODE]#include<stdio.h> main() { int i,n,c=0; printf("n= "); scanf("%d",n); while(n!=1){ if(n%2==0){ n=n/2; } else{ n=3*n+1; } printf("%d\t",n); c++; printf("%d\n",c);/*printing no of iterations of n*/ } }[/CODE] I …

Member Avatar for Ancient Dragon
0
131
Member Avatar for challarao

Hi! I have optimized the program posted in [URL="http://www.daniweb.com/code/snippet286940.html"]Http-webserver in C[/URL] to my sytem.Ok!. All the things in this program are fine.I inserted index.html file to this program.Now I want to share my files such as pdfs via LAN with this program.How to do that.Please help me. [CODE]#include<stdio.h> #include<string.h> #include<arpa/inet.h> …

0
86
Member Avatar for lionaneesh

This is a simple-web-server made in C.. [COLOR="Red"]Supported OS :[/COLOR] I have made it on Ubuntu 9.10 ... and i think it will run on all linux system .... [B]Windows is not supported[/B] [U][B][I][COLOR="Red"]Compiler Instructions : As this is a web server so it will host on port 80 to …

Member Avatar for challarao
0
2K
Member Avatar for spookies

I thought I could absolutley position a div under the logo and headstrap divs, but it seems i cannot. Ive tried floating too. I need some help aligning the nav bar with the background image. All help welcome thanks [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> …

Member Avatar for challarao
0
124
Member Avatar for challarao

I am a B.Tech 1st year student.I am unable to understand the program given below.Please any one explain me.Any help would be appreciated. This program is for printing longest line of given input lines.. [#include <stdio.h> #define MAXLINE 1000 /* maximum input line length */ int getlines(char line[], int maxline); …

Member Avatar for challarao
0
2K
Member Avatar for Anil2447

[CODE] #include <stdio.h> #include<ctype.h> main() { int c,nletters[26],i; for (i = 0; i < 26; ++i) nletters[i] = 0; while ((c = getchar()) !='!') { if(isupper(c)) c=tolower(c); ++nletters[c - 'a']; } for (i = 0; i < 26; ++i) { c = 'a' + i; if(nletters[i] != 0){ putchar(c); printf(" …

Member Avatar for challarao
-1
101
Member Avatar for pdoratis

Hello there, Kindly seek your help with a C programming language program that: 1 Reads reads and modify a text fine called mydata.txt 2 In txt file, we must enter the following data : name surname telephone number like this: John West 6976688742 3 The program should be able to …

Member Avatar for challarao
0
1K