15,550 Topics

Member Avatar for
Member Avatar for sh4rif

Hello every one! i want to create something like this (show at the bottom of this message as an attachment) but i've no clue how to create this digital payrmid. can anyone please help me with the code please? thanks for your help in advance cheers sh4rif

Member Avatar for myk45
0
103
Member Avatar for Castiel1631

I am creating an abstract data type for strings implementing the string functions but not using the string library. I have my .c file and my .h file below. The problem seems to lie in addMystring I have commented out the area's that seem to have the problem. when they …

Member Avatar for Castiel1631
0
2K
Member Avatar for AlonsoPL

Functionality Read 2 numbers Print multiplication as in following example: 3333 1111 ---- ***3333 **3333 *3333 3333 ---- 3702963 Prepare following functions Modulo division (you cannot use '%') Mulitplication Print a number with leading and "following" spaces Please I need to do that in C language, I think the best …

Member Avatar for myk45
0
151
Member Avatar for tdba.316

Hi~ I've been stuck with this exercise for quite a few days. It's in a book I'm currently self-studying, C++ primer plus. The exercise requires using C syntax, while the exercise which follows this one requires using string objects instead, so i guess this is the appropriate forum^^. It is …

Member Avatar for peter_budo
0
393
Member Avatar for AlonsoPL

Functionality Read 2 numbers Print multiplication as in following example: 3333 1111 ---- ***3333 **3333 *3333 3333 ---- 3702963 Prepare following functions Modulo division (you cannot use '%') Mulitplication Print a number with leading and "following" spaces I have it: #include <cstdlib> #include <iostream> #include "conio.h" using namespace std; int …

0
52
Member Avatar for Shankye
Member Avatar for shinsengumi

Hi, I'm kinda new to using MySQL,I just downloaded sqlite3 for my Linux. Can anyone give me some links to tutorials/sample codes that use MySQL and C as a programming language? Thank you

Member Avatar for mwasif
0
102
Member Avatar for gahhon

i wanna ask is that any statement can calculate number of occurrence of each letter (A-Z) instead of using switch statement or if statement to compare.

Member Avatar for Shankye
0
74
Member Avatar for rukia020
Member Avatar for jeremy62

so basically i wrote a progarm that begins with a menu allowing you to select one of 5 functions, but at the end of whichever function i would like it to return to the menu the problem is i dont know how to do that and would like any tips …

Member Avatar for Shankye
0
257
Member Avatar for nightcracker

No error checking and other features, but a very basic .tar extracting snippet: [CODE]#include <stdio.h> #include <string.h> #include <stdlib.h> #include <sys/stat.h> struct tarheader { // for parsing the tar headers char name[100]; char mode[8]; char uid[8]; char gid[8]; char size[12]; char mtime[12]; char chksum[8]; char typeflag; char linkname[100]; char magic[8]; …

0
64
Member Avatar for rafi1082

hello again i got an assignment i thought i understand it but the every time i read it i understand it differently. my teacher won't explain the exercise. here is the exercise [IMG]http://img42.imageshack.us/img42/8331/37255827.png[/IMG] he also gave an input output example located here [url]http://rapidshare.com/files/434579925/sorted.zip[/url] i'v learned using shmat & shmget and …

Member Avatar for Adak
0
116
Member Avatar for kapilsolanki84

hello can any 1 hlp me for creating a secured exe file of an console application.means i hv created 1 program in c using dev c++ as compiler. now it is creating an exe file of the project in the same project directory. thats fine. nw along with that exe …

Member Avatar for rafi1082
0
199
Member Avatar for atramposch

I wrote this function for an assignment. It utilizes dynamic memory, which grows and shrinks as needed. I wrote it like this at first: [CODE]int user_input (int * array, int intSize) { printf("Please enter any number of integers (80 characters per string max), enter an empty string to signal input …

0
84
Member Avatar for shellac85

Hi guys here is my code, prettty much the same as one posted before but im getting a few errors. Fairly new to this so if someone could help me out i would greatly appreciate it. Thanks in advance:) Here is the code and errors underneath that: #include<stdio.h> #include<string.h> #include<ctype.h> …

Member Avatar for Shankye
0
209
Member Avatar for bkoper16

I need help with a program that is supposed to take data on football players from a txt file and place them in a binary search tree then use case statements to t osearch the tree inorder, preorder and postorder recursively here's what i got so far [CODE] /* Bradley …

Member Avatar for Narue
0
197
Member Avatar for esy928

Hello Guys! it's been a while. Lately, I've been wanting to study & explore C/C++ more. Because of this, I've done a lot of exercises that was given to us at school and some more around the net, but sadly the one that I'm really looking forward to the the …

Member Avatar for Shankye
0
363
Member Avatar for atoivan

i want to write a a program that will accept student name and grades and output it.use an array data structure in the implementation this program and implement the following write method that will traverses the array and allow the user to perform the following processes a) search for a …

Member Avatar for atoivan
0
200
Member Avatar for its.romi

im a student of 2nd year BS, doing my BS in Computer Science. Here I want to include a program by me, may be someone will be helped by me :) [code=c] #include<stdio.h> #include<conio.h> #include<stdlib.h> int* createHashTable(void); void getData(void); void formatting(void); int insertData(int); float chkLoadFactor(int, int); int collision_LinearProbing(int, int,int); int …

Member Avatar for zohaib yousuf
0
280
Member Avatar for Alerwiali

It is supposed to tell me the occurrences of letters both upper and lower case and digit and non letter nor digits characters ,,but it does nothing ,,please help as soon as possible #include<stdio.h> #include<ctype.h> #include<conio.h> int main(){ FILE *fp,*f2,*f3; char ch,temp; int i,j; int lowercase[26]={0}; int upperCase[26]={0}; int digits[10]={0}; …

Member Avatar for Shankye
0
162
Member Avatar for kapilsolanki84

using dev c++ as compiler,bt coding the program in c.suppose i hv created 1 program in console application ,compiled it,run it, it works fine,on compiling & running it,. it produces the various supported assosciated with it. like makefile.win,gmon.out,project.exe,project.dev,main.o,main.c,now on seeing these files in notepad 1 can easily determined that program …

Member Avatar for Ancient Dragon
0
1K
Member Avatar for sciprog1

Hello, On the UNIX system that I am current working, to open a file in the pico editor ,I need to do the following: [CODE]>./pico filename.c [/CODE] Is there a script/command that I can execute which will remove the dot/slash and change that to: [CODE]> pico filename.c [/CODE] Thank you!

Member Avatar for sciprog1
0
76
Member Avatar for sciprog1

Hello Members, I have the following question about the pipe() system call. Say, Process A (my main()) forks a Process B which then forks a Process C. How can I open a pipe between Process C and Process A? I would like to write a sentence in Process C and …

Member Avatar for sciprog1
0
126
Member Avatar for thunderwolf07

hi! im also a beginner in using C im confused because ive got a problem. which the answer of C is different from mine here's my problem: !our teacher ask us to covert yards to meters, inches, feet. (my problem is the meter) feet = yard * 3 inches = …

Member Avatar for thunderwolf07
0
147
Member Avatar for fg_aa_c

Hi I'm new here and I have a problem which is hindering me. I have opened a file and wrote some stuff to it. Then later on I want to open the file and read it back in to a buffer. When I try to read the file back in …

Member Avatar for Madawar
0
123
Member Avatar for atramposch

[CODE]void user_input (int * array, int intSize) { printf("Please enter any number of strings (80 characters per string max), enter an empty string to signal input completion\n\n"); int i = 0; int j = 0; int arrayMax = MAXARRAY - 1; char input[81]; while (input[0] != '\0') { printf("->"); i …

Member Avatar for Shankye
0
158
Member Avatar for Billybe

Hello I am trying to read from a file. I'm followed a tutorial and had it working perfectly before, and it still does now.. But the problem is that one variable that I'm reading from the file is causing my program to crash. All the other vars I'm reading, are …

Member Avatar for Billybe
0
247
Member Avatar for berwick53

I have a CSV file with the following data 15278349,567892,3456,9742.30,CASH-WITHDRAWAL-200.00,DIRECT-DEBIT-200.00 64328975,632489,7562,98734.65,CHEQUE-DEPOSIT-100.00,CASH-DEPOSIT-424.54 etc... How would I print to screen the individual lines instead of just the top line?? Sam

Member Avatar for Narue
0
102
Member Avatar for moroccanplaya

hi i made a program that lets a user creates a file and then lets the user open a file that he would like to copy into the new file that he created. now the question is how do i extract the copied file or extract multiple coped file from …

Member Avatar for moroccanplaya
0
108
Member Avatar for moroccanplaya

hi i can copy text based files to other files but when it comes to images i cant copy them it gives me a distorted image. [CODE] printf("please give your archive a name:\n"); scanf("%s", &archive_name); create_pointer = fopen( archive_name, "wb"); printf("please type in the path for the file you want …

Member Avatar for moroccanplaya
0
76

The End.