19,876 Topics

Member Avatar for
Member Avatar for letheredge

Hello, I am having trouble getting my c:param working. I've looked all around the web for a solution. Here's some of the code that I have: test.jsp <%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" language="java" errorPage="" %> <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %> <html> <head> </head> <body> <c:import url="test2.jsp" > <c:param name="testVar" value="0" …

Member Avatar for ~s.o.s~
0
353
Member Avatar for eyfifteen

Hello! I want to know on how to convert files like JPEG to .PRN. Please help me. Anyone who is familiar on how printer drivers work. Thanks!

0
34
Member Avatar for blorgit

Heya. I'm having a problem with my guessing game. It won't stop guessing even after getting the right answer, and it also prints both questions no matter what the user input is. The guessing game is one where the computer guesses the user's number...any help? [code=c]#include <stdio.h> #define max 200 …

Member Avatar for Adak
0
127
Member Avatar for sujisubha

what are the image compression algorithms ? how to implement a new image compression algorithms ? can u give some tips to develop the code?

Member Avatar for monstercameron
-2
89
Member Avatar for MacErich

Hi all Tried to link fftw3 in cygwin, but keep on getting error messages such as: fftw3_prb.o:fftw3_prb.c:(.text+0x121): undefined reference to `_fftw_malloc' As an alternative, I just used an example from the web, here [url]http://people.sc.fsu.edu/~jburkardt/c_src/fftw3/fftw3_prb.c[/url] compile is using $ gcc -lfftw3 fft -o fftw3_prb fft-lib.o fftw3_prb.o ... and link it using …

0
73
Member Avatar for rishabbbh

[B]Can anybody tell me whats d problem..????[/B] [CODE] #include<iostream.h> #include<conio.h> void main() { clrscr(); int l,b,r,a; char ch,t,x; cout<<"******************----MAIN MENU----****************** \n"; cout<<"\n 1.Area of rectangle"; cout<<"\n 2.Area of square"; cout<<"\n 3.Area of circle"; { cout<<"\n Enter your choice"; cin>>ch; } rec:cout<<"\n Enter the Length and breadth"; cin>>l>>b; a=l*b; cout<<"\n Area …

Member Avatar for mike_2000_17
0
145
Member Avatar for emilio

hi everyone i would like to fill an array with random numbers i know i can use the next line srand( time(NULL) ); return 1 + rand() % 10 ; but the problem is that it fills my array with only one number what can i do ?

Member Avatar for mayur.sarode
0
309
Member Avatar for sujathaarsid

can any one say the important c quetions at the timeof attending technical interview for freshers.....please reply ASAP

Member Avatar for Ankit_Parmar
-1
80
Member Avatar for Rajkamal2013

Write a C/C++ program to read a text file and count the number of occurances of the words present in the file. Display the words in sorted order (increasing order of their counts). Your program should be structured as follows: readFile.cpp: file handling file -- functions to read a text …

Member Avatar for gerard4143
-1
115
Member Avatar for anitha10

i hav a menustrip and created mdi forms in this i hav child forms, i want to open one child form and hide the remaining child forms. Give me the solution for this question

Member Avatar for Nick Evan
0
100
Member Avatar for LuciaP

Hello1! First af all, excuse me for my bad english! I need to read user input that contains a certain command. My problem is that it depends on the command, the amount of strings i'll need to read. For example, there's a command with the following sintaxis: Command1 name = …

Member Avatar for LuciaP
0
205
Member Avatar for sujathaarsid

please can any one write the code without using pointers and in a simplest way... my question is finding substring position in main string .....these both strings you have to take at the run time and dont use any library methods.....you yourself have to write the code.....please give eply ASAP.....

Member Avatar for Adak
0
152
Member Avatar for SHENGTON

Hello, I'm still a novice with this C programming and I got some problems with my program. I got 3 errors and 3 warnings with my Linked List. I attached an image for you to see. Someone can help me how to solve this problem? Here's my code: [CODE=C]#include<stdio.h> #include<stdlib.h> …

Member Avatar for abhimanipal
0
113
Member Avatar for rcjay2

Everyone, I am having a problem with trying to get this to prompt the user for the correct input. I would like to user to be required to enter numbers only after it prompts him/her at "How much money would you like to convert today? (above 100): " My question …

Member Avatar for abhimanipal
0
180
Member Avatar for aminit

HellOo I've started to write a simple code to seprates the input integer , for example , if tried to enter 4444 , then it will sperate them by a space to be 4 4 4 4 , so any idea? Thanks

Member Avatar for abhimanipal
0
77
Member Avatar for bharat47

i want the codes for read and write of image processing using matlab and itz urgent for me send it 2 me as soon as possible

Member Avatar for abhimanipal
-1
54
Member Avatar for Mst8kenId

only a beginner, please bear with me.. there are no errors, but wrong output assumptions: input is correctly formed array size is 20 single digits only 4 basic operations #include<stdio.h> #include<conio.h> #include<ctype.h> #include<stdlib.h> int stk[20]; void push(int a, int b) { stk[a]=b; } int pop(int a) { int b=stk[a]; stk[a]=NULL; …

Member Avatar for abhimanipal
-1
80
Member Avatar for Tlhoks

Please assist Iam getting this "13 C:\Dev-Cpp\main1.c [Warning] return makes integer from pointer without a cast " from the program below when i try to compile it. [CODE]#include <stdio.h> #include <stdlib.h> #include <conio.h> #include <time.h> #include <math.h> int main() { /*getLarger();*/ /*getRandom();*/ printDetails(); getch(); return /*getLarger,getRandom,*/printDetails; } int printDetails() { …

Member Avatar for abhimanipal
0
92
Member Avatar for Jamesbch

Hello, I've a tricky issue with a use of my macro. I specify the max length of a string parsed by sscanf with a macro define. Since I write all of my macro value between parenthesis (if it is a number) It should fix the operation problems (it's why we …

Member Avatar for Jamesbch
0
235
Member Avatar for SlickSteiner

The program that I want to do is a program that lets you deposit and withdraw money, and that it can display the total amount that you have inputted in the transaction. Now my problem is, I don't know how to display the total amount and how to do a …

Member Avatar for [Alpha]-0mega-
0
164
Member Avatar for blaisemcrowly

I am trying to take in inputs from the user for one of my projects. [CODE]cout<<"Enter Event Name (enter 'exit' to quit) ::"; gets(dat.evnm); cout<<"Enter Type Of Event (eg: Dance, Music, 'exit' to quit) ::"; cin>>dat.type; if(strcmp(dat.type,"exit")==0) return 0; cout<<"\n";[/CODE] here the line[CODE] gets(dat.evnm);[/CODE] will not execute, and the program …

Member Avatar for blaisemcrowly
0
252
Member Avatar for WAhamed

I am new in c++. I need to read a text file containing something like this data: 0.6662 0.5435 0.5545 0.55487 0.4346 0.7698 0.8965 0.56438 ... ... It is 100 rows and 4 columns I write the following codes: #include <iostream> #include <fstream> #include <string> using namespace std; //The main …

Member Avatar for gerard4143
0
96
Member Avatar for abhijeetcn

I know the function textcolor() included in conio.h in borland compiler. but this function is not present in vc++. also if you can provide me the text formatting functions,or header file containing it. i will be very thankful.......so please help me......thanks

Member Avatar for [Alpha]-0mega-
0
203
Member Avatar for cwarn23

Hi, I have just started out with sqlite in c but I can't seem to return the results of the select statements. There are so many functions that I don't know what to use as none of them make any sense. So can anybody give me an example of how …

Member Avatar for tesuji
0
381
Member Avatar for jeevsmyd

I am looking for a good and neat looking C compiler ! Can I do ANSI C programs in Microsoft's Visual C++ 2010? If then ,HOW? please give me the step by step instructions to accomplish that task? Are there any other good compilers? is dev c++ good enough? Right …

Member Avatar for Ancient Dragon
0
141
Member Avatar for tamayoclarisa

#include<iostream.h> #include<conio.h> #include<fstream.h> #include<stdio.h> #include<string.h> #include<dos.h> #include<stdlib.h> void display() { clrscr(); cout<<"press: " ; cout<<"\n 1:ADD RECORDS \n 2:RETRIEVE RECORDS \n 3:READ RECORDS \n 4:quit"; } void main() { clrscr(); display(); char choice; cout<<"\nEnter your Choice:"; cin>>choice; switch (choice) { case '1':addrecords();break; case '2':retrieve();break; case '3':readrecords();break; case '4':break; default: cout<<"Only …

Member Avatar for Ancient Dragon
-1
134
Member Avatar for jackandjill2010

Hi i have a simple question i was wondering how to display the existing data in C# objects like Textbox, combobox or labels. At the moment a sql database file, one of the tables data is currently displayed in the datagridview control just fine. But what i would like to …

Member Avatar for jackandjill2010
0
390
Member Avatar for allynm

Hello everyone, I am looking for an example of a call to bind.exe. The documentation on this platform sdk program is unclear. I would like to bind an .exe file to a specific .dll. How should I code the bind command? Please don't ask me to enter " bind /?" …

Member Avatar for Ancient Dragon
0
179
Member Avatar for peck

wen i run coding in tc it shows error that the header file cannot be detected. i have tried changing the directory. but it still has no effect.

Member Avatar for Adak
0
70
Member Avatar for aikiart7

Good afternoon, i'm getting an error when I compile "undefined reference to 'TestScores:theAverage(int *,int)" I'm not sure what the compiler is telling me. Any assistance is welcomed. Art header // this is the header file for class TestScores #ifndef TESTSCORES_H #define TESTSCORES_H //this idea with this class is to take …

Member Avatar for aikiart7
0
223
Member Avatar for khrizanne

is there someone who can help me? i need a c++ program of any sales system. badly need it. asap ! for my case study any1 there willing to help. thnks a lot guys !

-1
31
Member Avatar for challarao

Hi! I have optimized the program posted in [URL="http://www.daniweb.com/code/snippet286940.html"]Http-webserver in C[/URL] to my sytem.Ok!. All the things in this program are fine.I inserted index.html file to this program.Now I want to share my files such as pdfs via LAN with this program.How to do that.Please help me. [CODE]#include<stdio.h> #include<string.h> #include<arpa/inet.h> …

0
88
Member Avatar for lionaneesh

This is a simple-web-server made in C.. [COLOR="Red"]Supported OS :[/COLOR] I have made it on Ubuntu 9.10 ... and i think it will run on all linux system .... [B]Windows is not supported[/B] [U][B][I][COLOR="Red"]Compiler Instructions : As this is a web server so it will host on port 80 to …

Member Avatar for challarao
0
2K
Member Avatar for Loadstone

(This is a repeat post from C# section since I just found this section and thought it might apply.) Hi guys, First I want to apologize for such a lengthy post. I'm attempting to give as much information as I can, and I'm sure I'm leaving something important out anyway. …

Member Avatar for Loadstone
0
326
Member Avatar for Loadstone

/edit: I found the Windows Servers forum section and posted there as well, but if you have any input I'd appreciate any help I can get. I'll be checking both threads for replies. Hi guys, First I want to apologize for such a lengthy post. I'm attempting to give as …

Member Avatar for Loadstone
0
251
Member Avatar for poojabi

i am given an assignment to write code on interpolation search binary search(searching an integer in an ordered list). bt i dont have a clear idea about about both of them as i missed the theory class.so can anyone suggest me from where i can get satisfying information about them?

Member Avatar for Adak
0
107
Member Avatar for dany12

First of all I want to thank the guys form this forum for there work and help that I found more then use full an different occasions. Here is my c programing exercise. Write a c program that shows all the products tahat have the price over 10. Any help …

Member Avatar for dany12
0
133
Member Avatar for laserlars

Hi! I'm pretty new to C and have to write something that handles strings. I have some experience with python and C++ but i find C string handling pretty strange/ugly. Is the following code really the best way to put together a string containing multiple strings? [CODE] strcat(string1, string2); strcat(string1, …

Member Avatar for laserlars
0
86
Member Avatar for challarao

I am a B.Tech 1st year student.I am unable to understand the program given below.Please any one explain me.Any help would be appreciated. This program is for printing longest line of given input lines.. [#include <stdio.h> #define MAXLINE 1000 /* maximum input line length */ int getlines(char line[], int maxline); …

Member Avatar for challarao
0
2K
Member Avatar for Anil2447

[CODE] #include <stdio.h> #include<ctype.h> main() { int c,nletters[26],i; for (i = 0; i < 26; ++i) nletters[i] = 0; while ((c = getchar()) !='!') { if(isupper(c)) c=tolower(c); ++nletters[c - 'a']; } for (i = 0; i < 26; ++i) { c = 'a' + i; if(nletters[i] != 0){ putchar(c); printf(" …

Member Avatar for challarao
-1
105
Member Avatar for boiishuvo

That is a stack program - I tried to change from integers to characters so when you enter a single char of a-z. I ran the program then it displayed shown below: Enter a number: <EOF> to stop: a Enter a number: <EOF> to stop: Enter a number: <EOF> to …

Member Avatar for Adak
0
133
Member Avatar for wantai

Hello guys, I am new here. I have been practicing programming in C as I am going back to school. The program below is supposed to be really simple. It would help you calculate the factorial of a number. But I don't know why I can't get the scanf function …

Member Avatar for Adak
0
102
Member Avatar for pdoratis

Hello there, Kindly seek your help with a C programming language program that: 1 Reads reads and modify a text fine called mydata.txt 2 In txt file, we must enter the following data : name surname telephone number like this: John West 6976688742 3 The program should be able to …

Member Avatar for challarao
0
1K
Member Avatar for itsbrad212

Hi everyone, I've been banging my head against the wall with this for a while. How can I read from a file if it begins with a certain string of text? Example: ...other lines... [U][I]depends=('curl' 'zsh')[/I][/U] ...other lines... I want to read the line in that file that starts with …

Member Avatar for itsbrad212
0
150
Member Avatar for vishnu.prasad

Hi every one, I am currently working on a server program which executes a series of system commands on receiving a messgae from the client(in C). what the server essentially does is he cd's into a particular directory and executes a shell script that calls make utility and does some …

Member Avatar for vishnu.prasad
0
176
Member Avatar for XtremeCold

Hi all, I am developing the Test Engine for an aviation application. The application has a file a.c that is calling an external function CREATE_SAMPLING_PORT(). My Test Engine has a file b.c that is calling CREATE_SAMPLING_PORT() as well. Each file is in different folder and has its own makefile. This …

Member Avatar for XtremeCold
0
233
Member Avatar for techick

Hi...next semester I will be taking advanced programming in C++. I would like to know any good up-to-date books that I can buy and read ahead to get a head start so I can be prepared for the class

Member Avatar for khusro.iqbal
0
112
Member Avatar for ciali

2. A student studying Information Technology at Polytechnic of Namibia is examined by coursework and written examination. Both components of assessment carry a maximum of 50 marks. The following rules are used by examiners in order to pass or fail students. a. A student must score a total of 40% …

Member Avatar for Adak
0
132
Member Avatar for MaiHunDown

Hi I have done C# but that is not enough Please tell me what should I do for more.... Thanks

Member Avatar for euroazn
0
87
Member Avatar for snigger

I wrote this round robin code and I want to calculate Response Time and Throughput [code] #include <stdio.h> #include <stdlib.h> // Data Structures typedef struct process{ char jobName; int arrivalTime; int execTime; struct process *next; } P; typedef struct result{ char Name; struct result *next; } result; // End of …

Member Avatar for Adak
0
2K

The End.