15,552 Topics
| |
consider the programme void main() { unsigned i=1; signed j=-1; if(i<j) printf("less"); } output is: less why can someone explain me | |
hi everyone, I belive in daniweb and post my question so that everyone can help me. CAN anyone provide me with a link to a web that has a tutorial about: 1. Socket programming in win32 2. Porting UNIX C's to WIN32 THANKS :p | |
Hi everyone, First of all thank you very much for all the help that you have been providing me. Unfortunately, i am with another bug. This time, i am havinh problems linking OBJ files that uses the following: #include <stdio.h> #include <winsock2.h> #pragma comment(lib, "ws2_32") When i link them, i … | |
i dont understand about how to use the reference and value parameters in a program. I also need to know how to pass an array to a function.give me the reasons with examples .. thank you kalinga.... | |
Hi everyone, First of all thank you very much for all the help that you have been providing me. Unfortunately, i am hist with another bug. This time, i am havinh problems linking OBJ files that uses the following: #include <stdio.h> #include <winsock2.h> #pragma comment(lib, "ws2_32") When i link them, … | |
I want to know how to write a program to fill the entire screen with a smiling face. The smiling face has an ascii value 1. | |
This program won't print the menu number the user enters??? /* Currency equivalence to the Dollar*/ #include <stdio.h> float Australian_Dollar; //Australian Dollar float Euro; //Euro Dollar float British_Pound; //British_Pound Dollar float Japanese_Yen; //Japanese_Yen Dollar float Swiss_Franc; //Swiss_Franc Dollar float count; int menunum; /* Dollar conversion */ int main(void) { // … | |
is there a possibility to make animation with cpp is there any documentation for this | |
#include <stdio.h> #include <stdlib.h> class A { int a; public: A() { a=100; } int get() { return a; } }; int main() { A *a=new A(); int *p=(int *)a; printf("%d\n",a->get()); *p=200; printf("%d\n",a->get()); system("pause"); } its out put is - 100 200 so can any body help me to avoid … | |
Hi all here is small C program main() { int i=2; printf("%d\n",++i * ++i * ++i * ++i); } it gives o/p 480 why..? Thanks for u r reply. shalin | |
hi guys, can anyone here give me c program about any file which would in binary format . the program will copy some content of binany file which would be on a tape drive (or any drive) & paste it another text file that would be in disk. thanks in … | |
hi guys, i have no idea how these lines work the given c program(see attachment).the program is about Read SEG-Y input data from disk file (stream of bytes) to properly structured SEG-Y with proper IRGs on tape.The program didnt include any path of the file.does theses line works as path … | |
In Microsoft Access 2000, I have a form that is for adding a new record and contains 2 subforms that each link to different tables. The subforms are connected by a user ID. I do not want the user to type his user ID twice, so when the user types … | |
using resultgraph() it returns -3 (asking for graph driver device) i wanna know where could i find this and where i ll put it | |
I am currently getting 33 linking errors like the following: c:\msvc\mfc\lib\lafxcwd.lib(sockcore.cpp) : error L2029: 'WSAASYNCSELECT' : unresolved external c:\msvc\mfc\lib\lafxcwd.lib(sockcore.cpp) : error L2029: 'GETHOSTBYNAME' : unresolved external c:\msvc\mfc\lib\lafxcwd.lib(sockcore.cpp) : error L2029: 'WSASTARTUP' : unresolved external in each one is a different socket function. Each function listed in the errors appears nowhere … | |
Using this code: Fees = ovrh + (wr * z); I am getting the following error: error C2440: '=' : cannot convert from 'double' to 'float [6][3]' Fees, ovrhd, wr and z are all declared as float. I believe if I can figure out what the problem is, I will … | |
Pls help me regarding with this problem show me a complete program of a Commission or Brokerage Problem what is written below. The amount of money paid to an agent for buying or selling goods C= Commission R= Rate of Commission S= Sales Formulas: C= R * S R= C/S … | |
I want to change the direction of movement of a shape (Circle) on a Form, using up,down,left,right, buttons placed within a panel also on the Form. The form contains a shape(Circle) and a TTimer component. I can get the Circle to move across the Form using : Circle->Left = Circle->Left … | |
OK, since i am not getting the answer am looking for, i am showing you a small source code of my program, i really hope that u understand it & sorry fot the newbie codez. [ #include <stdio.h> #include <stdlib.h> int main(int argc, char **argv) { int numa = atoi(argv[1]); … | |
i am unable to compile and run network based applications like client/server apps. what should i do now? | |
Hi everyone, Some questions in my previous post is still left unanswered. Here it is again: How can i accept decimal numbers from STDIN and perform arithmetic operations on it in C. How can i create a subroutine within a program, that can be called again & again at different … | |
| [font=Times New Roman][left]here is the question:[/left] [left]Use a two-dimensional array called [/font][b][font=Times New Roman]price [/b][/font][font=Times New Roman]to hold the prices for Proton’s car[/left] [left]regarding to the models and CC as listed below. [/left] [left]--------------------------------------------------------------------------[/left] [left]in 2d array..i could get[/left] [left](for example)[/left] [left]void disp(a[][3]);[/left] [left]int main()[/left] [left]{[/left] [left]num[3][2] = { {1,2},{4,5},{7,8} … |
| Do anyone know what's the problem with my Visual Studio 6.0. the program that i wrote sometimes can compile and sometimes can't, and yet sometimes can execute, sometimes can't.. the meaning of can't is..my whole VS frozen.. at the bottom, a message bar(whatever they called it) only shows Linking...(the word … |
consider the following statement & tell me why it i undetermined or ambigious int i=9; i=i++; PLS EXPLAIN ME FULLY | |
why do we use function definition in header file and function declaration in obj why can,t both be at header file? | |
hi. can someone please explain what are message passing interfaces and how i can code them? regards, naveen | |
as title mentioned, i face problem with convert a jumbled text file to unjumbled text file, some of you might not clear what i am saying, well a example will give a clear idea what this all about. jumbled text file contain a few line of number, after unjumbled it, … | |
Hi everyone, i have just startted programming with C and i have got 3 Questions: 1. How to calculate with decimal numbers in C. 2. How to convert strings into numbers and perform calculations on it. 3. Where to find a book that explains all the header files. Tahank you … | |
I have to create a program in c using this formula, y=ax(cubed)+bx(squared)+cx+d, I have to ask the user to read in the four coefficients of the cubic, Ask the user for start and finish values for x, ask the user to view the graph and Plot a graph using grx20 … |
The End.