Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
5
Posts with Downvotes
5
Downvoting Members
3
1 Commented Post
0 Endorsements
~8K People Reached
Favorite Tags

18 Posted Topics

Member Avatar for cthoes

ERROR UNABLE TO CONNECT TO DATABASE SERVER STORED BACKUP WHOLE WEBSITE IN HTDOCS AND IMPORT WHOLE DATABASE USING IMPORT IN MYSQL AFTER RUNNING [url]http://localhost:8888/[/url] ON LOCAL MACHINE ERROR MESSAGE :UNABLE TO CONNECT TO DATABASE SERVER ANY HELP WOULD HE HIGHLY APPRECIATED

Member Avatar for smantscheff
0
53
Member Avatar for cthoes

when i execute the below progam i am getting this errror [ICODE]type or namespace definition, or end-of-file expected in c#[/ICODE] [CODE] using System; class Program { public static void Main(string [ ] args){ string[] colorList =new string[10]; colorList[0] = "sunday"; colorList[1] = "monday"; colorList[2] = "tuesday"; colorList[3] = "wednesday"; colorList[4] …

Member Avatar for james6754
0
3K
Member Avatar for cthoes

why we use static in main and String[] args as arugment of main [CODE] public static void main (String[] args) [/CODE] can u explain me following static member functions should not refer to objects of that class. But we can access static functions through classname itself

Member Avatar for Mitja Bonca
0
160
Member Avatar for cthoes

In my mac. My root file is harddisk and a user account with name james. Every time i logged into terminal i found james as root folder. I cannot go to main root folder hard disk in terminal where all system files located. So it would be great ....can any …

Member Avatar for macmad
0
140
Member Avatar for cthoes

Warning: Cannot modify header information - headers already sent by (output started at C:\php\xampp\htdocs\db_login.php:9) in C:\pear\pear\Auth\HTTP.php on line 455 Warning: Cannot modify header information - headers already sent by (output started at C:\php\xampp\htdocs\db_login.php:9) in C:\pear\pear\Auth\HTTP.php on line 456 Access Denied [CODE] <?php // Using Auth_HTTP to limit access require_once('db_login.php'); require_once("Auth/HTTP.php"); …

Member Avatar for cthoes
0
88
Member Avatar for cthoes

it would be really great if any one of you could help me out difference between the following to connection to database 1 $connection = DB::connect("mysql://$db_username:$db_password@$db_host/$db_database"); 2 $con=mysql_connect(servername,username,password);

Member Avatar for Designer_101
0
74
Member Avatar for cthoes

i am using mac os x 10.5 with apache php and mysql. i tried below program but end up with following message.. Upload: insurance1.jpg Type: image/jpeg Size: 845.189453125 Kb Temp file: /private/var/tmp/php0Vueol Warning: move_uploaded_file(uploads/insurance1.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /Library/WebServer/Documents/php/upload_file.php on line 25 Warning: move_uploaded_file() [function.move-uploaded-file]: Unable …

Member Avatar for cthoes
0
2K
Member Avatar for cthoes

IS IT POSSIBLE TO develop apple application ..where the application can directly accept received sms ... as a input to the application for further use in the application PLEASE GUIDE ME ..THE TECHNOLOGY I HAVE TO USE ACCEPT RECEIVED SMS FROM IPHONE

0
66
Member Avatar for cthoes

i couldnt understand how fseek(fp,-size,SEEK_CUR) helps to allocate the modified data at the location where name are found to be same. it would be great help how fseek points to the location where data is going to modified. -size if fseek logic of pointing to the location where to modify …

Member Avatar for WaltP
0
118
Member Avatar for cthoes

[CODE] while(1){ system("clear"); gotorc(10,30); printf("\n1. add records"); printf("\nyour choice"); fflush(stdin); choice=getchar(); switch(choice) { case'1' : fseek(fp,0,SEEK_END); another='y'; while(another=='y') { printf("\n Enter name, age and basic sal"); scanf("%s%d%f",e.name,&e.age,&e.bs); fwrite(&e,stsize,1,fp); printf("\n add another record(y/n)"); fflush(stdin); another=getchar(); } break; [/CODE] [QUOTE] hi friends i am working on one menu driven program and used …

Member Avatar for WaltP
0
281
Member Avatar for cthoes

[QUOTE] fwrite writes only name from the structure emp and rest of them are written garbage value to the file. so it would be really great if any one of you can help me out[/QUOTE] [CODE] #include<stdio.h> #include<string.h> #include<stdlib.h> int main(){ FILE *fp; char another,choice,useme; struct emp { char name[40]; …

Member Avatar for gerard4143
0
279
Member Avatar for cthoes

[QUOTE]when i tried to copy structure array of name into another string array i get this error message warning: passing argument 1 of 'strcpy' makes pointer from integer without a cast [/QUOTE] [CODE] /* copying structure array name into another string array*/ #include<stdio.h> #include<string.h> int main(){ int i=0; int j,k,l,m; …

Member Avatar for stranger510
0
132
Member Avatar for cthoes

[QUOTE][QUOTE] even after passing all name to bubble sort i get result of unsorted nams..so please help me in this issue [/QUOTE][/QUOTE] [CODE] /* enter customer detail in structure and put its name in asscending order*/ #include<stdio.h> #include<string.h> int main(){ int i=0; int j,k,l,m; int choice=1; char temp[10]; char words[20]; …

Member Avatar for jonsca
0
157
Member Avatar for cthoes

[below structure contains s1[i].name contain array of string name. to check if user entered name in that array list. i need to compare words by words. but my problem is that since string is stored in array. and string itself is an small array. so i dont know how can …

Member Avatar for cthoes
0
173
Member Avatar for cthoes

i tried to pass one number by one within given range from for loop to while loop to check for armstrong. but the value passed from for loop into while loop is not accepting. so any suggestion [CODE] /*program to find armstrong within a given range */ #include<stdio.h> #include<math.h> int …

Member Avatar for n.s.hemalatha
0
120
Member Avatar for staufa

i found a one logical mistake in you code since u are finding length of string using strlen() before you put value into it. so what i did was before adding value into string . i define length of string. so using getchar() will receive only that no of character …

Member Avatar for cthoes
0
331
Member Avatar for vibe0405

dear friend getchar() in your program looks skipped every time u used in function . but actually before it accept input from keyboard it receive "\n"(enter key) which usually scanf function leaves after it scan its input. so getchar() terminate before u add input. so the simplest solution is you …

Member Avatar for cthoes
0
2K
Member Avatar for cthoes

below two are same program except i interchange to accept input value ....in the first program i accept first using scanf and the by getchar()...which didnt allow to accept character value . but in the second program i first accept getchar()value and then scanf(). so it works fine but i …

Member Avatar for cthoes
0
105

The End.