View Full Version : c answers
- write a program to print following output?
- explain this output of this program
- In my program my fgets funtion wont read inputs when i execute program...whats wrong
- rpn calculator
- Accessing functions of another file
- c function/code to test number
- C/C++ getvect question
- what is the meaning for tat line?
- how to write delay code in c
- C/C++ Setvect question
- Pointer Issues ( I think)
- what does the following declarations mean.
- reading binary .stl files
- number to word
- Dev-C++ Problem
- i just wanna know wht hapen on array and for loop and what is result of that program
- create a kenken game in c++
- what is difference between Array and list
- How dll will works in application exe?
- Reading data from a file into a dynamically allocated array
- named pipes in c++
- I have a simple doubt.
- STL map.find problem in using a compare class
- Recursivity Explanation in c++
- Can't seem to pass array correctly
- Arrays + reinterpret_cast Help
- an error in my program
- How to get the execution time for a bubble sort ?
- Merging of arrays
- Displaying progressbar using threading in win 32 applicaition!
- Function for dynamic allocate two dimensional array in c
- Print .pcap file content on cosole/file that should be similar as Wire shark
- C by Dissection chapter 12 exercise 11
- Returning an array from a function
- How to solve a general equation in c program
- Error while compiling
- How to provide buffer size dynamically.
- Iterating on std::map results in segmentation fault
- play audio in c or c++
- how convert fixed point to float
- changing output color
- Delete a word from a string
- function in C/C++ that never returns due to some reason
- What is difference between printf and cout?
- Creating windows based OS out of C++
- How to create button in C++?
- avoiding multiple free calls on dynamically allocated memory
- detect merged linked list
- Memory allocation during object formation
- how convert hex file to c or assembly
- C++ code to read an as400 work file and form the data structure.
- Selecting text in webrowser control
- c++ getting the filename and path of an ofstream object
- optimal binary search tree(obst)
- still having problems with entering truck name and truck number
- Help needed with using continue in loop
- Why sizeof is an operator rather than macro or function
- How to handle C# events in C++
- Conversions of integer using shift and bitwise logical operations
- scanf getting {space}
- AVL Basic Operation : Insert, Delete and Search
- Highest and lowest values in a two dimension array.
- error LNK2019
- crc32/checksum app
- How to get an array to sort
- Software installation at home pc
- Software installation at home pc
- Problem in Free() on 2D array
- How to develop C++ software on home PC?
- Union of sets
- Any utility software using C++
- C++ Polymorphism conversion error
- atoi conversion problem
- If an integer is positive or negative
- Import functions/classes by offset?
- malloc for long long array?
- Calling Java from C++
- How to initialize a structure variable to the size of the structure at compile time?
- Void function returns value of 1000
- Pattern Matching in C/C++
- Error C2040
- float to demoted integer conversion
- troubles with exec() :(
- C Programming ATM Machine Project Issue
- Use Iterator to obtain vector index
- C: Implementing a series
- all paths between two nodes
- Is there any way to calculate factorials of large no ie of about n<500
- How can we extract first k digits of n^n where k is <9 and 1<n<10^9
- strange behavior in Windows COMBOBOX
- Error in Simple Program
- Could somebody help me find the cause of a Segmentation Fault error in my program?
- How to print the '0' (zero) value after the modulo operator - % ?
- Add reverse function to doubly linklist class
- advantages of using FUNCTION in C++
- can someone tell me why nothing happens when I run this(codeblocks)program on my mac?
- File handling String related question
- ofstream/ostream flush() error check
- I make this for balancing paranthesis of equation but i think it is wrong check and c
- Problem in file handling!
- Warning: Assignment from incompatible pointer type
- declaration or definition
- convert a file to hexadecimal equivalent
- scan complete machine
- Write this without lib and string.h files
- Help needed with the while loop
- want to search in a text file if it contains the words present i a 2d array..
- Hash Function
- semi colon, the difference in loop without body
- sprintf equivalent for the string class <string>
- Access violation in accessing std::map
- How to use getpixel() and setpixel() in C program for selecting pixels
- nodes to adjacency matrix
- NULL reference
- Parenthesis and internal arithmetic equation with operation
- date difference problem
- Define a base class person that will contain universal information, including name
- how many constructors will be called when object of type D3 i will be created?
- Filling matrices: is there a missing or extra character I can't see?
- Is it me or my compiler?
- The method in the C
- max array size?
- Casting to void*.
- waitHandle class
- Nested if statement syntax issue
- Finding min/max with c++
- keybd_event in windows CE
- Give me the code in c++ to create symbol table?
- caling gnuplot from c++
- help needed in C++ with the if-else-if ladder.
- function pointer as function argument
- increase integer limit?
- define header files?
- Reading from LPT1 using MS VC++ 2008 on Windows 7(x64)
- Structure Initialization
- interchanging int and static
- What is wrong with this program, loop endless and "evens", "odds" output dummy values
- recursive function
- geometric sequence
- I have to create an abstract class "shape" with one pure virtual function print, tha
- C++ Array Question
- while loop question
- editor option in a C IDE
- design a class member Type
- Longest common substring
- 3rd party dll interface to c++/cli .net 2.x
- error while executing a matrix multiplication program
- HLSL in Resource Files
- Q function
- two pointers same address
- please help me to check the code..
- divide first column from a txt file
- Passing pointer to double array to function
- Cannot copy files to a path of this type \\blah.blah.com\folder
- semaphores question
- can't send WM_KEYDOWN correctly?
- pulling data from array and adding it up question
- Windows Forms in C++
- How to create movement with a graphic in C?
- floating point execption
- How do I add the date to it?
- (parallel) sorting pthreads
- Error: "va_start used in function with fixed args"
- VA_LIST on 64-bit
- Pointer to array within a structure? Bus error?
- help with arrays and pointers
- How to set if else within a flag for a makefile
- what is wrong with compiling error
- Segmentation fault help
- Freeing unused memory crashes program
- How to create an array of records
- How to define a new class "Matrix" based on "Vector<Vector<T>>"?
- make vs shell
- All Permutations - non-recursive
- Infinite while loop
- Format output into table
- doubt in declaration
- what's wrong with my copy function?
- Dynamic Array Confusion
- Dynamic Arrays
- multiplication of 2D array (matrix) with function and pointer
- Syntax error before = sign
- Importance of operator overloading
- Why does the compiler tell me this?
- compiling header file
- having trouble with string array
- Nested Loop
- Rotating a matrix
- Algorithm for sorting array of integers w/ respect to another array (c code would be
- How to sort a table of arrays
- how to declare ostream???
- Bushfire spread simulation
- No matching function to call
- trouble opening my .txt file
- indenting using recursion.
- Display output in table format.
- Help me with arrays.....
- Debug c++ dll vs2005 with test exe ( No debug Info )
- Correct forum
- how to use a third party dll
- How to access direct disk access under windows xp environment in turbo c
- Using return value functions and switch statement for c++
- dynamic array function
- dot operator before member variable
- How to incorporate a function.
- Null issues raised by scanf
- Main arguments
- Reading in text file in c++
- IME mode convert
- how to load and execcute program in C
- fgets / buffer issue
- [IPC, Shared memory] Design and implementation ideas for a server-client program
- sbrk function on Windows
- Fibonacci Sequence - Function within C
- Character Stuffing
- Any way to forward declare a function prototype?
- data type length dependency on word lenght of machine
- Access violation writing location 0x00000020
- calling a DLL from a thread
- Large Digit Addition
- problems with new / delete
- how to break colour image into RGB components?
- C++ Class Function/Method Friends?
- Too few arguments for format.
- When I call a function it won't print the information to screen.
- converters using c
- std::for_each with class method
- using function getting the address of string into a pointer
- Declaring an array with size in C++
- Arbitrary Precision for C++ Program
- Converting an integer to string
- Pointers and arrays in c++object orientated programming
- divide by zero
- Backtrack in maze
- calling pass by value functions
- function that takes care of turn
- Struct, char array and pointer problem.
- strcat not running normally
- How to get a "Resource String" from the Resource Table in C++ compiled with /clr:pure
- Problem Multiple definition of enum
- Output an asterisk rectangle
- Turbo C and C++ editor: Editing Shortcuts
- How many times a pointer can point to another pointer>
- Convert TCHAR [] to const ***
- Fastest C++ Matrix Library ?
- reading more than 1 string in c
- what is the best solution to create an array of variable size.
- scanf doubt
- MemoryMappedFiles header file
- Sort alphabetic into lower n in ascending order
- Deriving an ordinary class from a COM class
- C++ Value Return Function that produces a true/false
- How to change/show permissiosns in C
- Getting array values using strtok
- Run-Time Check Failure #0 - The value of ESP was not properly saved across a function
- how to convert this code into function...
- Trying to combine three codes in 1 code. Error came out
- C++, timetabling data, bin picking algorithm
- Converting A Basic Program to A C++ Program
- String, char problem. Location on the screen.
- changing from array to pointer format?
- Open Directory In C, Return File Descriptor
- difference between \v and \t and \n in c
- Does Eclipse comes with C/C++/Java compilers for college students to do some project
- ERROR (C++): 'main' : not all control paths return a value
- Driver development in windows platform
- code to separate and identify strings of code from an outside file
- Converting from One Computer Programming Language to Another
- Compiling wxbasic in C?
- Trying to bringup xterm, getting error "unable to display"
- Overloading classes problem...
- a code problem
- Passing pointer as parmaneter
- My question is that HowCanISeperateThisSentence into words in C?
- graphics magician and bits
- ISO image of a DVD video in c++
- Calling a main program's non-global function from a library
- time of execution
- antivirus code in c or c++
- Storing data in a linked list
- UB or not
- negative index in array
- How do I divide integers that equal float C?
- game of life C++ difficulty
- Parse a data frame in C?
- COnverting CString to Unsigned short
- LNK4221 and LNK4006 warnings!
- Add characters into a string
- sparse matrix multiplied to a vector using multicore programming.
- to implement hand written lexer and parser
- Linking error: Undefined symbol in _module
- Error: statement missing at line
- Create array of records and store in file
- How to convert Cstring to variant /variant to cstring
- Rotate an image
- DES implementation in C
- error occur during compilation a program
- syntax/logic errors
- forward declaration of class does not work
- How I create my own data type in c
- Using pipe to have one command read from another , command1 | command2
- How can i find the sum of divisors of a given number in a faster way?
- Merging C++/CLI Console App with dll's
- Object counter for classes
- implementation of stack using queuqe
- how to make an import library in vs2008
- How can I judge the if the input is over in C language?
- "= : left operand must be the l-value"
- Sigalrm routine using MS CL compiler
- Print a number in words
- Open the game supporting files
- Making a 16 byte datatype in C++
- display square corners
- How to convert code into a function
- Nameless temporary objects in c++
- Converting alphabetic phone number to numeric
- Switch Statements will not recognize a char comparison
- Loop won't iterate
- Networking: getaddrinfo using different ports
- Error downloading video streams from metacafe via inet_ntop()
- Unable to launch a xe when using Createprocess
- reading stdin for key presses vs a redirected file
- Counting the number of times a user makes input errors
- acces denied at running remove()
- what do ~= and ^= mean in C
- source code of apriori algo in c
- How to implement case insensitive fncs?
- Pointers Adresses and getting data byRef from a functions
- Static local variable and boolean function count
- linking error
- Connecting to Databases
- How to rotate an image by 180 degree clockwise and counterclockwise using C codes?
- Return the smallest of 2 doubles
- More problems with sprintf?
- Converting hexadecimal to binary
- Rebuild App when update one of resource file
- How do I call something in to a for loop?
- deleting node from linked list
- Continuation of a program in C
- Simplifying a fraction
- Getting started with computer programming.
- How to find size of a dynamically allocated array
- Without using browser I want to send one HTTP link to server
- How to use input from first operation as variable in second operation
- C ISAPI Code (Redirect)...
- Confusion with constructors and classes.
- Reading Zebra printer status
- give me a suggestion about an anti virus software
- Convert a rounded float to a string with sprintf?
- How to represent values of arrow keys using getch
- How are character constants stored in memory map
- Order of invocation of constructor and destructor
- How to format output to look like barcode
- Evaluating Expressions
- Incompatible type errors for the 2 arguments I'm inputting in main
- Server control won't bind to database
- How to use an exponent?
- How to write a program which sums the digits of a 4-digit number?
- array size declaration using const int
- 2 dimensional array addittion
- declaration syntax error
- What is causing this error: expected constructor, destructor, or type conversi
- I cant figure out why my program is crashing. Please Help!!!
- To retrieve username and static IP addr in linux platform
- Software to run C programs on Windows 7
- Get the Serial number of the hard disk
- Passing a dynamic array of struct to a function, the returning the same array
- buy ticket (with link list and struct)
- Calculate the time difference between two file names
- what is wrong in this codes?
- Implement member function Homework
- how to develop a algorithm for mean value
- how do I convert a string to char array to find a substring within a string?
- How to write a function code which can convert data strings to signal wave like Sine?
- Confused by passing character arrays?
- No match for operator<< when using std::endl
- Printing Structure Element
- error: invalid use of incomplete type
- Prevent console open on popen?
- Rewrite a open file?
- C++ Calling Out Arguments inside the Functions and its funcion it'self
- No Display in VC++ MFC Windows
- Typecasting for Class of Template Data type to unsigned char *
- How do you declare a data type with 1 bit size?
- typename & inheritance errors also typename & iterator definition errors
- behaviour of strtok()
- to find all armstrong between
- Declaration syntax error
- How To Put C# Console App On A Web Page?
- Error C2061: syntax error
- Centering text on a display?
- Fatal error C1010: unexpected end of file
- Copy selected characters between strings?
- how to store and retrive a video from database using c/c++
- how to convert a bmp image to a binary file?
- how to print a multiple characters?
- What is the Header file for sleep in Keil Operating system?
- Function that can swap elements in a singly linked list
- to get the output of c in a text file?
- '=' function as left operand Errors?
- Program arguments
- Calculating code size for shared libs
- problem with a function!
- Operator Overloading
- templated class problem
- Return a double variable
- Passing C++ const char* (String from JAVA) to C#
- Read integer numbers from a file and return the arithmetic mean
- Allowing 1 input only
- how to increment i value wit a interval of 10 ?
- what is wrong with my copy function?
- What is the address of Heap created by HeapCreate() function?
- Using pthreads in VS .NET 2003
- GDB source code need to compile for PowerPC
- read text file into formatted struct array
- C/C++ Matrix/Vector Calculation
- Multidimensional sparse arrays using linked lists
- root - polynomial
- Filling a string with characters '#' and space to create bar-graph
- How do you write to a file one line at a time?
- using of POSIX threads
- template inheritance
- how to add+multiply matrices
- question related past question on how to use not equal to for two numbers
- i need a c program code with the answer for it
- need a code for this problem.......
- Error with threads opening files
- How do I say not equal to more than one number?
- How to validate IPv4 & IPv6 in C?
- Write a C++ program to roll 3 dice, show the values of these dice, and show the total
- How do I write the code for the championship sort of a set of numbers?
- Header Errors
- Reading integers from a file into classes.
- hi all, I dont have any clue how to accomplish this. Pls provide ne clues ...Thanks..
- parsing a 2d character array
- another "does not match ‘void* (*)(void*)’" error
- Quadratic equation solver
- what is wrong with line 27 and 31?
- Diff b/w C and C++
- matrix multiplication and addition
- using math opertion
- ".....exe stopped woking"!!
- please let me know as soon as possible
- I have posted the question below...i have understood logic but not the code...
- help , im doing a program and cannot get it to work. The reg does not follow on .
- Share Data between C & C++ Function
- Random int 1-255 to character in C
- Loop problem
- syntax error before { line 29 and syntax error before } line 45? gcc mac.
- Privileges for registry editting
- How to extract RGB as unsigned char * from unsigned char * of 24 bit BMP Color images
- Issue Sending byte from C to java
- help with function that calls another function
- How do you input size into a Class Function?
- when it reaches end-of-file (stop=1) segmentation fault
- how the height of any tree can be calculated
- mat[i][j] = *(*(mat + i) + j) here mat is a pointer to an array of r elements an
- sockets question about multiple IPs on one computer
- How to find the source code of functions?
- When I try to compile I get : "too few arguments for format" - ln 22 whats missing?
- c++: getchar() doesn't work on conditional control statement
- My first quistion
- Exceptions in Release mode
- overriding virtual function, can the return type be either a pointer or a reference?
- How to connect oracle with C programming?
- How do I get user input into a string array then display the data entered?
- int arr[10]; //in file1.c extern int *arr; //in file2.c main() { arr[0]=1; } //
- what r the application of templat function and templat class
- how to declare the member functions in fuzzy set using c++
- Read live stock quoted from a website using qt4 c++?
- What are <Bad Ptr> in visual C++?
- Automatic variables + stack
- declaration syntax error
- error detection
- how to use a native C++ dll in an ATL dll
- error: expected unqualified-id before '.' token??
- Comments on my code?
- How to sort structure arrays
- How do I go about writing positive, neg, zero, and even or odd???
- Prime Number Generator.
- Error while writing integer calculator
- How to display data in a bst in tree format using C++?
- Using custom classes
- Not getting requierd output in C
- realoc failed
- Multithreading in C++
- How to decompile exe into source code.
- int main(void) { func(); func(6); return 0; } int func(
- Problem when terminating application.
- f=++i||(k++)&&1; how are such expressions evaluated??
- assignment operator and copy constructor
- sorting the arry of pointer to string
- how to make easy graphic with gcc in my Ubuntu 9.10
- puzzle on c statement
- Attempted to read or write protected memory while importing function from c++ dll
- write a program using one dimensional array to display the even and odd numbers out
- expected unqualified-id at end of input
- Trying to do Simple Multiplication
- const char* and char* concatenation
- Loop to run the program again?
- need help with a C++ code for class?
- regarding the buffer
- Passing Structures from C++ to a VB .NET DLL
- I'm having trouble with my code compiling, "error: return type defaults to 'int'"
- Marshaling a C++ two-dimensional fixed length char array as a structure member
- linker error: unresolved external __fastcall
- Marshaling a C++ two-dimensional fixed length char array as a structure member
- What is the recommended directory structure for tests?
- process time
- I am reading data from a text file into a structure?
- How do you get a 15x15 matrix using an ifstream
- Looking for iptables rule to enable FTP and e-mail and disable after some time
- been working on this prog need help getting results to show up correct when compiled
- c/c++ sparse matrix library
- is there any probiem if we do malloc and free inside infinite while loop..?
- HOw to bulid Hans Boehm Garbage Collector using Visual C++?
- Passing arrays to a function
- error: expected identifier or â(â before â{â token ??
- How to print the keys in VC++ like sendkeys.send() i vb.net
- Error compilation
- STL vector
- passing a string as file name to a ifstream
- Help with sine taylor series
- running minicom to access serial port usinh putty to Linux machine from windows
- returning dynamic array from function
- Running a C++ Program during the execution of a C Program
- finding a number even or odd without using if,else or arithmetic operator
- private constructor
- reading a file multiple times
- c code is dumping
- Design issue
- : undefined reference to `pow'
- Access Violation
- programing error in writing own manipulator.
- Beginner Socket Programming Error
- Runtime error ?what is this ?why it appears after installing games
- Linker error
- How can an object ask to be deleted?
- looking for c function for this
- Change order of how input is collected
- factorial
- How to add sockets in select() while waiting?
- W8004 'Object' is assigned a value that is never used
- connect script failed
- 2D Vector in C++
- strcpy and strncpy
- Application Cleanup during Linux Shutdown
- make a c++ program for loops ..
- How sort and do a list after giving struct?
- segmentation error