You are here:
| Subject | Date Asked | Expert |
| Programming Language Source Files Business Rules. | 12/15/2011 | vijayan |
| Q: http://en.wikipedia.org/wiki/Source_code There are some queries from my side regarding Programming ... A: > Can Programming Language Source code file naming extensions be duplicated ? > Does it become ... | ||
| dynamic bit-fields | 12/12/2011 | Zlatko |
| Q: I was wondering if there is such thing as a dynamic bit-field or any other way to implement it? To ... A: Yes of course it is possible to implement it. It would be built upon the tools I described in this ... | ||
| dynamic bit-fields | 12/12/2011 | Ralph McArdell |
| Q: I was wondering if there is such thing as a dynamic bit-field or any other way to implement it? To ... A: Short answer: no You cannot modify types at runtime - all types and their structure have to be ... | ||
| Test score | 12/9/2011 | vijayan |
| Q: #include <iostream> #include <iomanip> using namespace std; { const int maxNumScores = 10; int ... A: Write a function to sum up all the scores: double sum( const double score[], int numScores ) { ... | ||
| C++ Compiler | 12/6/2011 | vijayan |
| Q: Is it possible that install a compiler of c++ in mobile and run small programs with it? thanks in ... A: Yes. Though the specifics depend on the mobile platform. For example: ... | ||
| scope | 12/6/2011 | Ralph McArdell |
| Q: How are you? Thanks for taking questions. In my *.h file I have this class class LargeFile { int x; ... A: Err, maybe because the function is an _instance_ _member_ of a _class_ and so needs to be called on ... | ||
| scope | 12/6/2011 | Zlatko |
| Q: How are you? Thanks for taking questions. In my *.h file I have this class class LargeFile { int x; ... A: To call a method on an object, you need to have created an instance of the object. For example, in ... | ||
| scope | 12/5/2011 | Tehreem |
| Q: How are you? Thanks for taking questions. In my *.h file I have this class class LargeFile { int x; ... A: That's probably because compiler is simply taking the function as an outside function which can be ... | ||
| scope | 12/5/2011 | vijayan |
| Q: How are you? Thanks for taking questions. In my *.h file I have this class class LargeFile { int x; ... A: > void mergeFiles() > { > x=5; > } > The compiler says that x was not defined in this scope. But ... | ||
| scope | 12/5/2011 | Zlatko |
| Q: How are you? Thanks for taking questions. In my *.h file I have this class class LargeFile { int x; ... A: The mergeFiles function you have written is not part of the LargeFile class. To make it part of the ... | ||
| scope | 12/5/2011 | Ralph McArdell |
| Q: How are you? Thanks for taking questions. In my *.h file I have this class class LargeFile { int x; ... A: Sorry but no, the declared and defined function mergeFiles is not a member of class LargeFile; ... | ||
| How to compare two 2D array and display the rows that do not match | 12/3/2011 | Zlatko |
| Q: This program i am trying to do is to compare two 2D array and display the rows that do not match, ... A: Before, you were comparing a 2D array against itself. For that reason you wanted to avoid comparing ... | ||
| C++ | 12/2/2011 | vijayan |
| Q: Sir, i m a beginner in c++? Please recommend a c++ tutorial programe Online? Sir Can we make ... A: > What can i do with visual c++? Visual C++ is an IDE and C++ compiler; it is a tool to assisting ... | ||
| C++ | 12/1/2011 | vijayan |
| Q: Sir, i m a beginner in c++? Please recommend a c++ tutorial programe Online? Sir Can we make ... A: There are several online C++ tutorial sites; here are a few of them: ... | ||
| About Dots and Boxes Program | 11/28/2011 | vijayan |
| Q: I read your previous post on the dots and boxes codes. I have a question relating to the same. How ... A: > How do we declare the following function- void print_grid(const grid_t& grid, std::ostream& stm) ... | ||
| Computer Games. | 11/19/2011 | vijayan |
| Q: 1. Is Computer Games classified as a System or Application Software ?. Computer Games involve ... A: > If we use Joystick interfacing input device for the particular game designed, it will also require ... | ||
| Computer Games. | 11/17/2011 | vijayan |
| Q: 1. Is Computer Games classified as a System or Application Software ?. Computer Games involve ... A: > Is Computer Games classified as a System or Application Software ?. > Computer Games involve ... | ||
| Convert visual c++ to linux c++ | 11/15/2011 | vijayan |
| Q: My name is srikanth and i am doing some breakpad related testing and i want to crash a specific ... A: C or C++ is platform agnostic; the language libraries do not provide any facilities for this. Start ... | ||
| Threads | 11/14/2011 | Zlatko |
| Q: How do I wake up a thread, so that thread 0 can wake up thread 1 because there are not enough 0's. ... A: Hey is for horses. You can think of this as a producer/consumer problem. The fact that the total ... | ||
| C++ | 11/14/2011 | Zlatko |
| Q: Please i want to cheack for this code Sorted Doubly Linked List with Insertion and Deletion ... A: I hate to bring you bad news, but the code is having some trouble. When you are writing a program in ... | ||
| Threads | 11/11/2011 | Zlatko |
| Q: How do I wake up a thread, so that thread 0 can wake up thread 1 because there are not enough 0's. A: Usually, a thread will be waiting on some resource and will wake up when the resource becomes ... | ||
| Dots and boxes game | 11/11/2011 | vijayan |
| Q: I have written most of the program to play against the computer and understand what is supposed to ... A: Use a std::vector for the grid: #include <vector> #include <iostream> typedef std::vector<char> ... | ||
| Help turning psuedo code into c++ code | 11/10/2011 | Zlatko |
| Q: Alright I am trying to write a program that will play Dots and Boxes, the common paper and pencil ... A: I would not store the grid co-ordinates (letters/numbers) in the grid, nor would I store the '+' ... | ||
| Help turning psuedo code into c++ code | 11/9/2011 | vijayan |
| Q: Alright I am trying to write a program that will play Dots and Boxes, the common paper and pencil ... A: > char grid[input][input]; This is not valid C++. The number of elements in a C-style array must be ... | ||
| Help turning psuedo code into c++ code | 11/9/2011 | Zlatko |
| Q: Alright I am trying to write a program that will play Dots and Boxes, the common paper and pencil ... A: It’s an interesting problem, and I think you made a good start, but you have to continue refining ... | ||
| Help turning psuedo code into c++ code | 11/9/2011 | Ralph McArdell |
| Q: Alright I am trying to write a program that will play Dots and Boxes, the common paper and pencil ... A: Unfortunately "Dots and Boxes, the common paper and pencil game" is not one I know of - so it may be ... | ||
| Help turning psuedo code into c++ code | 11/9/2011 | vijayan |
| Q: Alright I am trying to write a program that will play Dots and Boxes, the common paper and pencil ... A: Ok, let us take this up one (small) step at a time. The grid is a two dimensional NxN structure as ... | ||
| c++ file handling | 11/6/2011 | Tehreem |
| Q: Sir, I have a question related to file handling in c++. Assume that a text file named txt1.txt ... A: There are three basic things you need to know for solving this problem. After you know that you will ... | ||
| deitel c++ | 11/4/2011 | Zlatko |
| Q: im writing a program trying learn c++ and i keep getting the error message, no appropriate ... A: In your main program, you have the line Pet myPet; That line is trying to make a Pet but it is not ... | ||
| main() function | 11/3/2011 | Ralph McArdell |
| Q: Why we use main() function in C program codes? A: Basically because that what C and C++ require for programs using a hosted implementation (i.e. run ... | ||
| help me out | 11/3/2011 | vijayan |
| Q: i understand you but can you help me out i tryed to use vector function to solve the search ... A: I can only guess; most probable cause would be that the file "document.txt" does not exist in the ... | ||
| How to display the rows that do not match in a matrix | 11/3/2011 | Zlatko |
| Q: The objective of this program is to get the rows that are not the same within a data matrix. To ... A: The major error I made was to have j go from i+1. It needs to go from 0. We want to compare the ... | ||
| How to display the rows that do not match in a matrix | 11/1/2011 | Zlatko |
| Q: The objective of this program is to get the rows that are not the same within a data matrix. To ... A: Lets have a look at this function. bool ArrayCompare2(int* first, int* second, int numelements) { ... | ||
| search | 10/31/2011 | vijayan |
| Q: i doesnt display that search word can you please help me out #include<iostream> #include<math.h> ... A: > display only the text where the search word is std::string::size_type pos = line.find(SearchID) ; ... | ||
| search | 10/31/2011 | vijayan |
| Q: i doesnt display that search word can you please help me out #include<iostream> #include<math.h> ... A: You need an <b>int main()</b> in every C++ program. You have included a lot of headers, many of ... | ||
| Application of C/C++ in game programming | 10/26/2011 | Zlatko |
| Q: I am a student of Aeronautical Engineering (3rd year) from Mumbai, India. I have recently started ... A: C and C++ are both used for game programming because of high performance. For graphics, both OpenGL ... | ||
| ADTs help | 10/25/2011 | vijayan |
| Q: Alright so I made the functions from the calls inside "primaryElection" and my program compiles and ... A: #include "candidates.h" #include "candidateCollections.h" #include "states.h" #include <fstream> ... | ||
| ADTs help | 10/24/2011 | vijayan |
| Q: Alright so I made the functions from the calls inside "primaryElection" and my program compiles and ... A: There is a logical error in the function you indicated. void readCandidates(istream& input) { // ... | ||
| c | 10/23/2011 | Zlatko |
| Q: sir pragmas in c language can be used to supress warnings of a programme.can you give a programme in ... A: Pragmas are a way to give more information to the compiler to make it behave a certain way. ... | ||
| c++ | 10/20/2011 | vijayan |
| Q: polymorphism is two types. 1)compile time polymorphism 2)run time polymorphism. then what is meant ... A: Compile-time is the time when your source code is being compiled. Templates are instantiated at ... | ||
Page: Prev | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | Next All
Top Expert on this page
my primary areas of interest are generic and template metaprogramming, STL, algorithms, design patterns and c++09. i would not answer questions about gui and web programming.
over 15 years
Education/Credentials
post graduate engineer

©2012 About.com, a part of The New York Times Company. All rights reserved.