Search Results

Showing results 1 to 16 of 16
Search took 0.01 seconds.
Search: Posts Made By: Alfy
Forum: C Nov 19th, 2004
Replies: 5
Views: 1,847
Posted By Alfy
NVM, i got it kinda.
#include <stdio.h>
#include <string.h>

int i,k,j,type;
char buffer[100],l,line[50];

struct student /*structure*/
{
char name[20];
Forum: C Nov 19th, 2004
Replies: 5
Views: 1,847
Posted By Alfy
My bad, whats going to happen is the user is going to be prompted to input the information for three students, inlucing: their name, age, and id. After they havfe inputed all that data, they are...
Forum: C Nov 19th, 2004
Replies: 5
Views: 1,847
Posted By Alfy
ok, that makes sense, but im still lost on what i need to do.
Forum: C Nov 18th, 2004
Replies: 5
Views: 1,847
Posted By Alfy
struct student
{
char name[20];
int age;
int id;
};
struct student *sp, st[3],temp
;

void sort(struct student *p)
Forum: C Nov 15th, 2004
Replies: 7
Views: 2,107
Posted By Alfy
what is a segmentation error?
Forum: C Nov 15th, 2004
Replies: 7
Views: 2,107
Posted By Alfy
Forum: C Nov 15th, 2004
Replies: 7
Views: 2,107
Posted By Alfy
i really have no idea what u mean by debugging, i dont know where the problem is occuring b/c all it says is segmentation fault, and i dont really know what that is, where do i get records of sorting?
Forum: C Nov 15th, 2004
Replies: 7
Views: 2,107
Posted By Alfy
#include <stdio.h>
#include <string.h>

int i,k,type;
char buffer[100],l,line[50];

struct student
{
char name[20];
int age;
Forum: C Nov 4th, 2004
Replies: 1
Views: 2,619
Posted By Alfy
int ans, guess, random, type, counter, num, i;
char option[20], numb[10], input[5];


int power(int num)
{
ans=2;
if(num==0)
{
return(1);
Forum: C++ Nov 4th, 2004
Replies: 1
Views: 2,458
Posted By Alfy
#include <stdio.h>

int i,type;
int buffer[100],line[50];

struct student
{
char name[20];
int age;
int id;
Forum: C Oct 14th, 2004
Replies: 1
Views: 1,779
Posted By Alfy
i am suppose to multiply the two matrices together using a for loop, but the only way i can figure it out is by using printf( a[0][0] * b[0][0] + a[0][1] * b[1][0]) 4 times to find each piece....
Forum: C Oct 14th, 2004
Replies: 4
Views: 1,522
Posted By Alfy
cool, thanks a bunch.
Forum: C Oct 14th, 2004
Replies: 4
Views: 1,522
Posted By Alfy
whats the reason for defining s1 and s2 as constants?
Forum: C Oct 13th, 2004
Replies: 4
Views: 1,522
Posted By Alfy
write a function begins(string1, string2) that reurns true if string1 begins string2. Write a program to test the function. program:

#include<stdio.h>
#include<string.h>

char...
Forum: C Oct 12th, 2004
Replies: 21
Views: 25,877
Posted By Alfy
Forum: C Oct 12th, 2004
Replies: 21
Views: 25,877
Posted By Alfy
I am kinda new to world of c programming, and i have been assigned a problem that is written as follows: Write a procedure that counts the number or words in a string. Write a program to test your...
Showing results 1 to 16 of 16

 


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

©2003 - 2009 DaniWeb® LLC