15,550 Topics

Member Avatar for
Member Avatar for ravi77

hi, i just want the join two strings by checking the second string a non vowel word. suppose, str1="hello"; str2="world"; here i want the neglect the vowel characters in the second string. so, i have used 'while loop' for checking each character in the str2. i used the code something …

Member Avatar for gerard4143
0
121
Member Avatar for Manske

My project this week is to perform basic linked list operations. We didn't learn this in class, and the TA that attempted to explain can't speak English very well, so I'm having trouble understanding what I'm doing wrong. I linked the entire file, but I only had to implement the …

Member Avatar for Wafflyn
0
180
Member Avatar for iammirko

Hi, I have been trying to compile open source projects since past few months with no success. I just don't know how to go about the entire thing. Readings over the internet have not helped much. Some come with [COLOR="red"]./Configure[/COLOR] and a [COLOR="red"]Makefile[/COLOR] while others with only a [COLOR="Green"]Makefile[/COLOR]. How …

Member Avatar for iammirko
0
211
Member Avatar for hmushtaq

Hi, I'm currently a student given the task of programming a RPN calculator using C. The following code is some test code that I made to solve the issue described in the thread title. It calls a custom getline() function(while loop) which is also shown and then should take in …

Member Avatar for hmushtaq
0
162
Member Avatar for relient28

Hello everyone, I am new to this forum and programming in general and had a quick question. In the code below, I was wondering why it was necessary to initialize the variables. I understand the general purpose of initialization(no garbage data) but I don't see what the point is here …

Member Avatar for L7Sqr
0
125
Member Avatar for Utsav Chokshi

I have two programs which gives a same output.....But they uses different logics.... So I want to compare their compilation and run time so I can understand which one is better.... The program gives an output like.....If u enter a number=789 then output=890 means each input digit got increament of …

Member Avatar for group256
0
102
Member Avatar for 080346

Hi folks, I am working in linix and i have a little bit confusion that whether i can access the PCB of current process or not? if yes then what content of it we can print it using it process id (getpid())..... thanks for answering .....

Member Avatar for 080346
0
81
Member Avatar for baldwindc

I am taking a data structures class and we are using the standard gcc compiler on a unix system. This is fine and I have no troubles using it, but I would like to begin using an IDE for my labs. I am trying Visual Studio 2010 Professional with my …

Member Avatar for baldwindc
0
240
Member Avatar for rodel123

Create a program that will accept a date in numbers and output the date in long format. Have your program trap for the leap year and also invalid inputs. Your program will also ask if the user wants to input again. Range for year (1980-present) plsss help me ASAP...tnx!!!

Member Avatar for slygoth
-1
112
Member Avatar for jacob21
Member Avatar for jonsca
0
44
Member Avatar for tzmen23

Im working on an assignment and have run into a proglem that I cant seem to fix. With the following code I get the following error. "warning: passing argument 2 of strchr makes integer from pointer without a cast" [CODE]#include <stdio.h> #include <string.h> int main() { char buf[250]; char *chptr; …

Member Avatar for shibblez
0
118
Member Avatar for arun_taurean

Hello cryptogeeks, does anyone have idea for KATAN/KTANTAN block cipher.Got any C code for it???

Member Avatar for Adak
0
324
Member Avatar for zychos

I am doing an bubble sort assignment, the goal is to enter up to a max of 10 numbers and sort them. The problem that I am running into is when I run the code, I have to hit ^D to have the next line of the array displayed and …

Member Avatar for Adak
0
136
Member Avatar for jmeyer

Hello All! I'm working on a bit of code and I ran into a problem. I am trying to make a program that writes data to a binary file. When the program is run again later (presumably after being terminated) it is supposed to read in the old directory file …

Member Avatar for WaltP
0
100
Member Avatar for frogit

Hello, I am working on a project that involves 5 servomotors that need to move in a coordinated way. The servos are controlled via an Arduino micro-controller. I've been learning C through this project, so my coding might be a little off-convention. What I have is 5 buttons (0 to …

Member Avatar for frogit
0
621
Member Avatar for himanshusharma

hey frnds ... my query is regarding the [B].bak[/B] files which are genrated when we compile our code. For some files i hv seen the [B].bak files[/B] but for others they dont exist . I just want to know the start n the end of these [B].bak files[/B] . Whats …

Member Avatar for josephbeluan
0
196
Member Avatar for Paritosh Das

[CODE]#include <graphics.h> #include <stdlib.h> #include <stdio.h> #include <conio.h> #include<dos.h> int main(void) { int gdriver = DETECT, gmode, errorcode,i; int midx, midy; int radius = 100; initgraph(&gdriver, &gmode, "c:\\tc\\bgi"); errorcode = graphresult(); midx = getmaxx() / 2; midy = getmaxy() / 2; setcolor(getmaxcolor()); for(i=5;i<=90;i+=2) { delay(50); setcolor(i); circle(midx+i, midy-i, radius); setcolor(i); …

Member Avatar for josephbeluan
-2
133
Member Avatar for eclipse2012

Hi, I am a newbie to Visual C++ programming. I already have a code which I edited for my purpose. It is as below. [CODE]#include <stdafx.h> #include <stdio.h> #include <stdlib.h> #include <math.h> #include <string.h> #define FIL_LINES 17873 /* no. of lines in input datafile */ double t[FIL_LINES]; double x[FIL_LINES],y[FIL_LINES],z[FIL_LINES]; double …

Member Avatar for hag++
0
4K
Member Avatar for geekme
Member Avatar for keicola

hi, i'm currently learning C on my own. i explicitly made a binary tree just to see if my postorder procedure works. i have no idea why but at the end of running the program, before it does the last procedure, this appears: [IMG]http://i56.tinypic.com/2nb52xx.jpg[/IMG] everything else works fine. i know …

Member Avatar for keicola
0
171
Member Avatar for erogol

I am newbie in C programming and I have a easy assigment but I coul not do that. I need to read two number from a file, add them, print them that is all. Here is the my code. [CODE] #include <stdio.h> #include <stdlib.h> int main(void) { FILE *fp; fp …

Member Avatar for gerard4143
0
4K
Member Avatar for arends

Ok so I tried to search and didnt come up with anything so if this has been posted before, I am sorry. I am new to C programming and have done well in my class so far up till now, the teacher says that this is the hardest program and …

Member Avatar for arends
0
177
Member Avatar for gaviel080990

Good Day .. I'm new to the forum .. New to C++ either .. I'm having a problem regarding the while loop .. I've been trying to make an ATM system .. But I can't continue further for the other cases because whenever I try the loop for going back …

Member Avatar for Ancient Dragon
0
117
Member Avatar for senahi

Hey, I think you will be fine!!! .:) The user has posted the question [URL="http://www.daniweb.com/forums/thread346716.html"]http://www.daniweb.com/forums/thread346716.html[/URL] I want to know how to interface ADC with Micro controller and then how to display the result on LCD. Please Share some code and circuit diagram also. waiting for your reply:X Thankx....

0
43
Member Avatar for onlinessp

Hi, Good Evening,I am new to use Keil and Proteus.From last week i am writing a program,To show Alphabets on LCD, using 89c52.I am in great trouble. The code and simulation files are attached herewith.Plz elaborate my mistake and give me some hints so, I can learn. Respected, Advance Thanks …

1
247
Member Avatar for diwas1

Hey guys, I am new in C programming. I am trying to write a program in C to determine the probable value of a POWERBALL lottery ticket, given a particular jackpot amount and number of people who chose that jackpot combination. The program should ask the user for those two …

Member Avatar for Kirk Conger
0
127
Member Avatar for joelem

Hello everyone, I have successfully WRITTEN an array of complex numbers into .txt file using fprintf and scanf(). However, I have no idea how to READ this file. Please see the attached code and reply with your suggestions. Thank you in advance!! Joelem [CODE] #include<stdio.h> #include<stdlib.h> #include<math.h> #include<complex.h> int main() …

Member Avatar for Adak
0
1K
Member Avatar for Oblivious21

hey everyone this is my situation. i am taking a programing course that introduces you to a few languages. the first one is C now im a java guy (not very good with it yet) im still learning but i understand the basic concepts so im not totally in the …

Member Avatar for Oblivious21
0
256
Member Avatar for xxxferraxxx

Hi, I wana to make keygen that not randomly codes, and with 2 text boxes, Like i need to add "username" and "password" to gen for me I need the code please help :)

Member Avatar for Moschops
0
108
Member Avatar for kahaly

I need to write a program, that lists keystrings for each command for a given set of commands. Input The first line contains the number n of commands for the console application. Each of the following n lines contains one command of the client. Each command is a nonempty string …

Member Avatar for myk45
0
123

The End.