15,547 Topics

Member Avatar for
Member Avatar for Sad_1

i am new to c programming and i wanna ask for help. at the end of the coding part, how can i print out the orderlist, the quantity and the total price for the food? I personally think that it is similar as print out a reciept but i have …

Member Avatar for Banny213
0
358
Member Avatar for ahmed_111

i need a code for authentefication user and password with c languge the user and password should be filled first in a .text

Member Avatar for rproffitt
0
230
Member Avatar for ZombieKnight93

So I have a poker type program where it should shuffle and deal a deck of cards using arrays of pointers. I have to write a function that uses a pointer(s) to determine if the hand contains an Ace. If I can understand this one, I'd be able to do …

Member Avatar for tinstaafl
0
1K
Member Avatar for Alisha

Hello everyone. I am a newbie in C programming and I have a quite challenging task to do. I am supposed to write program where user enters a number (for example a number that user wants to get from cashpoint) and the program gives me as best solution as it's …

Member Avatar for rproffitt
0
237
Member Avatar for Jay Kenneth

im just new on c program can you help me on this ? problem : make a C program that will ask 10 numbers and store into an array. the numbers to be entered must be between 70 to 95 only output the average,number of grades below average, above average. …

Member Avatar for RabidDog5150
0
322
Member Avatar for elifelo

I want to create a game that computer guesses the number that i think between 0-500 but i am a beginner and i do not know what to do could you help me please ?

Member Avatar for rproffitt
0
363
Member Avatar for dongtrien

I see the software to charge credit card swipe, samsung pay, ... I want to find out how the swipe card works and write code to get payment information in the software sales. how ? You can share the code for me with.

Member Avatar for John_165
0
241
Member Avatar for fanolots

Hey, I don't know if this is the right place, but my issue is taking an output from a software SPI and using it in another function for temperature. The code below is marked with my issue, however it's not the full code. The full code is for a lab …

Member Avatar for tinstaafl
0
312
Member Avatar for ZombieKnight93

How can I make this to continue until the user presses N? I've tried using while(1), while( option == 'y' || option == 'Y') but it kept giving an error for that, and if/else statements but no luck. So I decided to try a do while statement and same results, …

Member Avatar for Smith5646
0
854
Member Avatar for COKEDUDE

I have 30 functions like this void func1(int *var1, int *var2) { func2(var1, var2); } void func2(int *var1, int *var2) { func3(var1, var2); } void func3(int *var1, int *var2) { func4(var1, var2); } I do not need var3 until func15. Is there a way to fix this mistake without having …

Member Avatar for bdux
0
673
Member Avatar for COKEDUDE

If you have a counter that gets incremented through multiple functions, is it better to use a global counter or pointer counter? They both work just curious which is better and why.

Member Avatar for Reverend Jim
1
1K
Member Avatar for Syed_19

Can someone give me the code of this program: Write a program that convert the numbers of length upto 3 into words and speech.Use either if else or switch case only

Member Avatar for rproffitt
0
214
Member Avatar for GadiK

Hi guys, I took it upon myself to learn the mysteries of linux. I'm trying to write a shell that can handle more than one pipe. Here's the code: [CODE] typedef struct command_link{ char *command; char *argv[MAX_ARGS]; int argc; struct command_link* next; int isPiped; }command_t; int pipedCommand(command_t *command) { int …

Member Avatar for Riadh_1
0
11K
Member Avatar for mahdi_2

Hi guys I was having issues with reading 3 files and merging them into an array, I tried fgetc, which then let me to have issues with sorting them so I tried to change my array and allocate a counter variable to get the size of it but not sure …

0
298
Member Avatar for nitin1

Hi, How can I pass a c# string to C++ side of the app? Right now, I have all handling in Const char * format . When I pass c# string, c++ working fine when using Platform::String . But there is no good way of converting Platform::String to const char …

Member Avatar for ddanbe
0
5K
Member Avatar for dongtrien

I have show example merge cell the datagridView but actually deleting the duplicate line (demo: https://stackoverflow.com/questions/16774966/how-to-merge-datagridview-cell-in-winforms), I want after merge cell the text in the middle of the cell as the image file attached to the code write how ? http://www.mediafire.com/view/h005tuc3aawaray/1.PNG/file

0
328
Member Avatar for dongtrien

I want to color cell of the listview, how to write code ? You see my image file. http://www.mediafire.com/view/uoq3qw4o9c90jwd/chamcong5.jpg/file

Member Avatar for rproffitt
0
941
Member Avatar for dongtrien

Suppose there are two forms: frmMain and frmPopup, frmPopup is always on frmMain, when select frmMain inputting data then frmPopup always on frmMain, frmPopup is always on frmMain, how is it to write code ? you see attach file http://www.mediafire.com/view/bq32fcb3ept329r/PopUpInput.jpg/file

Member Avatar for ddanbe
0
297
Member Avatar for andrewll2

This snippet converts a CIDR notated IP address to a range of IP addresses in decimal, dotted notation. Eg.: 192.168.1.255/31 => 192.168.1.254 - 192.168.1.255

Member Avatar for JamesCherrill
0
4K
Member Avatar for dongtrien

I have a data file called Access 2003 Table The question "TABCAUHOI" has the following fields: ID int; NOIDUNG memo; The "NOIDUNG" field has data type as memo, I pour data from excel text file into this table in this access file to check the contents are full as excel …

Member Avatar for dongtrien
0
247
Member Avatar for Jingex

Hi,my problem is when I choose yes to go for customer number 2 and when I simply choose either a combo(even thought A,B,C or D) it will straight end the whole program and show press any key to continue instead of continue the looping for return the selection(case A,B,C,D or …

Member Avatar for Reverend Jim
0
1K
Member Avatar for gonzi.p12

hey guys, Can any body tell me how shall i start with the project. I will be using Java and C together(JNI) in netbeans for coding. I will be embedding the C code in Java(Interface). First i want to read the wav file in C and sample it and apply …

Member Avatar for iranano
0
2K
Member Avatar for allen_1

#include<stdio.h> #include<conio.h> typedef struct process{ char pname[20]; int at,bt,wt,ta,end; }processes; int main(){ processes P[10]; processes z[10]; processes et[10]; processes wt1[10]; processes ta1[10]; int a,b,n,x=0,st,y,w; float aveta,avewt,sumta=0,sumwt=0; printf("Process Scheduling Algorithm:\n"); printf("SHORTEST JOB FIRST\n"); printf("--------------------------------------\n"); printf("Enter No. of Process: "); scanf("%d",&n); printf("\n"); for(a=0;a<n;a++){ printf("Enter Process Name P[%d]: ",a+1); scanf("%s",&P[a].pname); } printf("\n"); for(a=0;a<n;a++){ …

Member Avatar for Sahil Singh
0
629
Member Avatar for Siberian

Is C similar to C# (C-sharp); or are they completely different ? I was wondering if I should begin learning C# and the transition to C will be a tad bit easier ?

Member Avatar for overwraith
0
387
Member Avatar for lim_3

#include<stdio.h> int main() { int x=5; int y=50; do{ x = x + 10; }while (x <y); printf("%d\t%d", x,y); } I wonder why i compile is 55 50 why not 15 50???

Member Avatar for Reverend Jim
0
358
Member Avatar for Meghna_1

**Question**Accept a character C and a positive integer N as input. The program must print N characters starting from C. Input Format: The first line contains C and N separated by space(s). Output Format: The first line contains N characters. Example Input/Output 1: Input: a 4 Output: abcd Example Input/Output …

Member Avatar for ddanbe
0
292
Member Avatar for dongtrien

I get the employee list from SQL Server problem with fields: ID: id employee Employee: name employee after filter the kernel list dv.RowFilter = "set condition unique 1 recoder" at the command if (dv.Count == 1) at this assignment id and the kernel name is not correct the unique file …

0
273
Member Avatar for wap_2

Is there a way to transfer multiple files using sockets from client to server? i was able to send 1 file , but sending multiple doesnt work.

Member Avatar for rproffitt
0
325
Member Avatar for Hamsterking

hi i'm trying to tranform while loop to a recursive function to read the array from left to right and then another version from right to left but i'm just unable ! can i have some idea ? #include<stdio.h> #define DIM 10 int csTrie(int n, int *tab){ int i=0; while(i<(n-1)&&tab[i]<=tab[i+1]){ …

Member Avatar for JamesCherrill
0
192
Member Avatar for Larry_13

Write a C program to implement the following function" print A for exam grades greater than or equal to 90, B for grades greater than or equal to 80 (but less than 90), C for grades greater than or equal to 70 (but less than 80), D for grades greater …

Member Avatar for Reverend Jim
0
372

The End.