19,876 Topics

Member Avatar for
Member Avatar for ranjita.cdt.esg

can anyone guide me to good websites with respect to this topic "image deblur without original image" I have gone through a number of papers and codes for a week. all examples had codes which took a original good image added a blur function & then deblurred that image. I …

Member Avatar for 0x69
0
1K
Member Avatar for moroccanplaya
Member Avatar for cmsc

for example I have this file named 'bst.h'. do i need to compile it so i will be able to use it? what do I need to write in the terminal to run my program? thank you very much.

Member Avatar for Saravanan5
0
73
Member Avatar for rapids79

Hi, I am trying to use strtok()..the idea is to split the text in tokens seperated by ";" as the delimiter. The text is in two parts like: apple;mango (apple being the first part and mango being the second I want to split into). The code I'm using: [CODE] #include<stdio.h> …

Member Avatar for nbaztec
0
184
Member Avatar for cmsc

i have this program that should print first name, middle name and last name. it almost works, but when I print strings, weird characters appear. I don't know how it's called, but instead of strings appearing, those characters appear. does anybody know why? I included parts of my program here: …

Member Avatar for cmsc
0
91
Member Avatar for whattever

[CODE]/* < newton.c > */ #include "smp.h" main() { void USERF(double *,double *,double); double x0,e; int n,NMAX; /*** ステップ1 データの入力 ***/ printf("\n初期値 x0 = "); scanf("%1f",&x0); printf("\n収束判別定数 p = "); scanf("%1f",&e); printf("\n最大反復回数 NMAX = "); scanf("%d",&NMAX); /*** ステップ2 ニュートン・ラプソン法の計算 ***/ S_NEWT(&n,&x0,e,NMAX,USERF); /*** ステップ3 計算結果の出力 ***/ printf("\n反復回数:N=%d 解:X(N)=%10.71e",n,x0); } /* < …

Member Avatar for nbaztec
0
503
Member Avatar for vigneshbro

Can u plz explain the output...... [code] #include<stdio.h> #define product(n1,n2) n1*n2 int main() { int a,b,c; a=b=2; c=product(a+2,b+1); printf("%d",c); return 0; } [/code] output:7

Member Avatar for kings_mitra
-1
69
Member Avatar for geethanjaliprat

hi to every one!!!!!!!!!!!! i just need a help from u, i just want to assign symbols like @$* wat i hav to do please help me by giving me a sample example.

Member Avatar for LevyDee
0
72
Member Avatar for Tom Gunn

The forum is buzzing with questions about tokenizing a C++ string. This is a short function that does it and returns a vector of the tokens. As an option, the delimiter string can represent either a multichar delimiter or a collection of single char delimiters: [code] // multichar delimiter == …

Member Avatar for daviddoria
1
734
Member Avatar for jobs

I am looking for a good C++ example of a simple MySQL client program written in C++ and runs on Linux, using MySQL++ libraries that does the following (no threading): Accessing Option File Contents, ~/.my.cnf, in user home folder to read settings (load_defaults). Constructing and sending the sql statement that …

Member Avatar for Stefano Mtangoo
0
467
Member Avatar for NewOrder

my task is to use a loop,, i need the loop to go till 77777 the problem is that the numbers need to be octagon type.. 1-8 instead of 1-10. i have no idea how to make that conversion. i created 2 loops... i tried to come up with a …

Member Avatar for NewOrder
0
163
Member Avatar for god_like

hello world. I dont can finish my project. can you solves the problems? I use code:blocks and every funktion and header is on a own file. [code=c] #include <stdio.h> #include <time.h> #include <stdlib.h> int main(void); void field(int paiOpen[][18], int iBig); int summe(int iGroesse, int paiFeld[][18]); int inputf(int *piFeld); void randgen(int …

Member Avatar for god_like
0
129
Member Avatar for 143wena

please help me on this making a payroll system using MSSQL.. i dont know how to start.. just a simple one.. please..

Member Avatar for nbaztec
0
123
Member Avatar for cmsc

aside from itoa function, is there any other way to convert a string to an integer? itoa function won't work in my compiler.

Member Avatar for cmsc
0
81
Member Avatar for cmsc

i have this structure : [CODE] typedef struct nodetag{ char *employeeNumber; name mName; birthday bday; char *address; char *rank; int salary; hireDate *hdate; }*node; typedef struct nodetag1{ char *month; char *date; char *year; }birthday; [/CODE] but I don't know how to access the month in bday. i tried using node1->bday->month …

Member Avatar for cmsc
0
89
Member Avatar for iqra123

hiii, i want to make user inteface for my C program in linux. is there any way other than GTK Glade interface?? i never used Glade before so i do not know weahter i could make UserInterface for my C program in that or not? as Glade has its own …

Member Avatar for iqra123
0
111
Member Avatar for mteberlein

Hi everybody, I have a legacy program at work that I have taken over and my boss wants me to add some functionality. I have already added a com object to the program and am producing a functional dll which I can write strings to and control my program. I …

Member Avatar for mteberlein
0
282
Member Avatar for Ferny84

Ok, so i'm supposed to create this ADT structure and i'm having problems storing data into a function and printing it. These are the three files I have: [CODE]#include "myBook.h" #include <stdio.h> #include <stdlib.h> Book *createBook(char title, float price, int stock, char person) { Book *myBook; myBook = (Book*) malloc(sizeof(Book)); …

Member Avatar for Radical Edward
0
98
Member Avatar for ankur_

Hi All, Where can I find the source code for ssl in linux I have to send a file encrypted with ssl in linux It would be helpful if anyone can send me the steps for that Regards, Ankur.

Member Avatar for Ancient Dragon
0
65
Member Avatar for sanagopi

hi ...i have registered for reliance power...the written test will be held on july 2010..now i have to prepare for that exam...will u please tell...what to study for the technical test..please help me thank you..please suggets me some books for technical...i have selected IT specialisation for technical written test...thank you,have …

Member Avatar for Ancient Dragon
0
136
Member Avatar for Ferny84

Can someone please show me an example of how to read lines from a file with this format: Book One 49.99 1 Authors Name I know I am supposed to use fgets since there is whitespace in the strings, i'm just not sure how to read and store the data …

Member Avatar for Ancient Dragon
0
119
Member Avatar for leejiaen1212

Dear All, Is C# able to do a project similar to a planner or maybe a simulator? Example: 1) User load floor plan 2) User 3) User drag and drop or select the devices and add to the floor plan 4) Program calculate total cost 5) if possible program analyse …

Member Avatar for Ketsuekiame
0
293
Member Avatar for wade2462

I am coming from c++ and its nice STL. In C++ I could do this [CODE=C++] <include> string ... ... int nMyInt = 5; string sMyString; sMyString[5] = "b"; [/CODE] Ive tried this approach in c# but doing this way gives me this error [QUOTE]Property or indexer 'string.this[int]' cannot be …

Member Avatar for wade2462
0
125
Member Avatar for banjes31

Im trying to play a midi file on a glockenspiel using an MSP430 microcontroller. i will have 25 actuators playing the bells. Im having problems converting a midi file to text. does anybody know of a good midi to text converter or of another method of doing this project?

0
110
Member Avatar for deeer

hi there I'm struggling on this problem hope you can help me here is the question: Define an enumerated type named Suits that lists the four suits of a card deck plus a constant meaning \error" or \no suit". Use UPPER CASE for constants in your enumeration. - Use typedef …

Member Avatar for deeer
0
148
Member Avatar for haro2x

Hello i have made a webbrowser using the webbrowser control in c#. I have disabled the new window event, and now I want to get the url of the clicked link to open this url in current window. Here is the code: [CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; …

0
65
Member Avatar for harshchandra

This program maintains a employee's record using Doubly linked list.It was a weekly project submission by me for the course CI 031 .Invloves simple graphics and a login menu where i had used file handling to maintain a record of 3 user's name and their password .So before running the …

Member Avatar for ylnsagar
0
349
Member Avatar for iqra123

hi following i a code that calculates systems up time in days, hrs, min, sec after calculation result is sent to client. but through this code we can only send any one paramter mean either day, hrs, min or sec. as a result of this code we get on client …

Member Avatar for nbaztec
0
88
Member Avatar for aianne

Hi!, I'm newbie here on daniweb.. and i dont know if i'm in a right place to post this problem. lol. *sorry for my english* anyway, will you please help me about Turbo C? My teacher gve us a sample problem and he starts it with this code : [code]#include<conio.h> …

Member Avatar for Adak
0
314
Member Avatar for iqra123

hii i m using atoi() to convert char value to int. and then passing that int as a swtich variable. switch goes in a case and exectuing that particualr function but returning 0 value.... for example: i am finding no of process() and system up time(). when switch program goes …

Member Avatar for nbaztec
0
108
Member Avatar for andrewll2

Hello! [COLOR="Green"]Little unimportant info about me: I think i can program in c# in a quite good way,but I would like to make my programs useful also for people who hasn't got .NET framework installed. So i started to learn c and to rewrite my c# programs in c.[/COLOR] I'm …

Member Avatar for andrewll2
0
367
Member Avatar for akand

I have some data in a table in mysql. I have written a program which can connect to the database and access all tables and data of mysql. I have a variable in the C program. I want a particular data in one of the tables in the database to …

Member Avatar for tesuji
0
547
Member Avatar for vicpdfl117

hi frnd i m new in Programming so please help me out how can i link or open .exe file in c program i m using turbo c how can i link 1 exe file in my program so i can run it in my main program

Member Avatar for nbaztec
0
182
Member Avatar for shankarz

Hi, every one know that scanf statement should use "&" ambers ion symbol, but why it is not used while getting a string. eg: main() { int a; char str[10]; scanf("%d",[COLOR="Red"]&[/COLOR]a); scanf("%s",str); -->why "&" sybbol is not used in getting string? }

Member Avatar for mehrab
0
263
Member Avatar for web3

Can anyone tell me what GUI to use? And is there a GUI similar or same like standard library? Thanks in advance.

Member Avatar for Stefano Mtangoo
0
213
Member Avatar for tomtetlaw

I need to create a frame rate independent timer system, I haven't tried anything yet but that's because I need ideas because I am confused as to how you would do it in code(which is run regardless of how fast) and having it frame rate independant.

0
49
Member Avatar for kevinyu

hello guys, i need help, on how to output odd and even numbers at the end of the loop... not the way my program does, which prints the number every time i input numbers, and it needs indicated whether it's an odd or an even number. guys give me an …

Member Avatar for kevinyu
0
106
Member Avatar for abhi74k

Why is the constructor called from top to bottom rather than bottom to top ????

Member Avatar for abhi74k
0
149
Member Avatar for iqra123

hii i have a server client prog in which server is my 'agent' and client is 'manager' following is the code for both agent and manager. i want my agent to send what manager is requesting. but it is not working the way i want. the paramters which manager is …

Member Avatar for nbaztec
0
130
Member Avatar for eslmz

I want to reach linked list like an array. I write a code like that but i get unexpected result. Main problem is, when i check sizeof(myrecord) value, i get 27 bytes, but actually difference between the records is 32 bytes. Do you know where is the error? [CODE]#include <stdio.h> …

Member Avatar for UncleLeroy
0
131
Member Avatar for ryan461

Following this text book, i need to take this card dealing program and turn it into dealing 5 cards, and identifying pairs(and various other hands). The 5 cards was easy, now im just experimenting on how to identify pairs when i came into the error: missing ; before const. The …

Member Avatar for ryan461
0
399
Member Avatar for dhondie87

i am a beginner, but im interested to know wat about programing... plz help me... tanx... can i get the basic code? send me pls... tanx..

Member Avatar for nbaztec
-3
134
Member Avatar for Ror1

I need help with the code. It otherwise works fine. But whenever i enter 'Y' to play the game once again it automatically keeps entering character as input to scanf every time i press enter. So, the program never, ends what to do??[code]#include<stdio.h> #include<stdlib.h> #include<ctype.h> #define SEED 12345 void play(void); …

Member Avatar for Ror1
0
83
Member Avatar for bala1486

Hello, I need to implement a lightweight transport layer protocol in Linux-Kernel as part of my project. Could you please suggest some books or references that explains about implementation of TCP in linux? Thank you.. Thanks, Bala

Member Avatar for lionaneesh
0
62
Member Avatar for ankyG

hey guys i m finding it difficult to link the different files together in c.. here is my code... [code=c] //main.c #include <stdio.h> #include "other.h" int main (void) { printf("%d\n", getfavorite()); return 0; } //other.h #ifndef _OTHER_H #define _OTHER_H int getfavorite(void); #endif //other.c #include "other.h" int getfavorite (void) { return …

Member Avatar for Ancient Dragon
0
162
Member Avatar for ndowens

I am wondering if somebody could recommend a good book and/or tutorial for an absolute beginner with no previous programming experience. Thanks. Also If I can do decent at programming, I may end up going to college in order to try and make programming a possible career

Member Avatar for Bench
0
135
Member Avatar for iqra123

hiii... i running a program of C heres one function in which i am getting an error. [CODE]void snmp() { int count; char switch_val; printf(" start sending requests\n"); printf(" select '1' to send get request\n"); printf(" select '2' to send get next request"); scanf( "%d", switch_val); switch(switch_val) { case '1': …

Member Avatar for iqra123
0
72
Member Avatar for eshabajaj
Member Avatar for xaop

[QUOTE]Armstrong numbers are the sum of their own digits to the power of the number of digits For example, 153 = 1³ + 5³ + 3³[/QUOTE] Here is my attempt [CODE]#include <stdio.h> #include <conio.h> void main() { clrscr(); int i,r,h,t,o,s,n; printf("Please enter any integer.(Not more than four-digits) "); scanf("%d" , …

Member Avatar for Banfa
0
145
Member Avatar for pmishra
Member Avatar for thehelios
0
145

The End.