Search Results

Showing results 1 to 6 of 6
Search took 0.00 seconds.
Search: Posts Made By: invisal ; Forum: C and child forums
Forum: C Sep 21st, 2009
Replies: 7
Views: 446
Posted By invisal
For those who are lazy to search through internet here is the link: gets() vs fgets() (http://faq.cprogramming.com/cgi-bin/smartfaq.cgi?answer=1049157810&id=1043284351)
Forum: C Sep 14th, 2009
Replies: 7
Views: 797
Posted By invisal
I am greatly disappointed.
Forum: C Aug 29th, 2009
Replies: 4
Solved: please help
Views: 362
Posted By invisal
All your code do is assigning each element of your matrix to -1 and then display them. It is no surprise at all that you did not achieve the assignment because you haven't figured or aren't willing...
Forum: C Aug 5th, 2009
Replies: 18
Views: 585
Posted By invisal
1. Why create this function when you can simply compare two characters with operator ==.

int Check_Characters(char s1,char s2) {
if(s1==s2)
return 1;
return 0;
}
Forum: C Aug 4th, 2009
Replies: 7
Views: 392
Posted By invisal
Here is your code and its logical error.

int RemoveChars(char *S,char c) {
int i=0;
int spaces=0;
char temp;
for(i=0;S[i]!=0;i++) {
temp=S[i];
if(S[i]!=c) {
...
Forum: C Feb 14th, 2008
Replies: 17
Views: 4,473
Posted By invisal
Not a good way :( but it works fine.


int sum(int num1, int num2)
{
int total, temp, temptotal;
total = num1 ^ num2;
for(temp = num1 & num2; temp != 0; temp = temptotal & temp) {...
Showing results 1 to 6 of 6

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC