Posts
 
Reputation
Joined
Last Seen
Ranked #613
Strength to Increase Rep
+6
Strength to Decrease Rep
-1
77% Quality Score
Upvotes Received
15
Posts with Upvotes
13
Upvoting Members
13
Downvotes Received
4
Posts with Downvotes
4
Downvoting Members
4
7 Commented Posts
0 Endorsements
Ranked #540
~75.1K People Reached
Favorite Forums
Favorite Tags
Member Avatar for super-duper

Hey, what's up guys, Can anyone explain what ADT is? How do you know when you are using it? When? Why? I mean, in a simpler way than some books define it. P.S. I am not even sure if my questions are valid :D Thanks!

Member Avatar for rucha_1
0
2K
Member Avatar for charming-_-eyes

Hello ,,, Please I need Your Help as soon As Possible.. I have an array of integers and i need to convert it to string ... PlZ Help me as soon as Possible ...

Member Avatar for Satya Raj
0
497
Member Avatar for John Linux

In a past prac. exam for an algorithm course I'm doing is the challenge below, and their are no solutions but it seems like a really interesting one to solve. Can someone please help and point me in the right direction, I would like to try this on my own, …

Member Avatar for Sergio_1
0
498
Member Avatar for Azmah

I'm looking at getting back to C++ . Its been awhile since I last did it, so I am planning on going from the very beginning and looking for a site to learn it from. I've found a few but wish for the best one to stick to. Thanks in …

Member Avatar for Labdabeta
-1
467
Member Avatar for ravenous

At work we have a large number of unit tests that try to alert us that we have made changes that have broken our code. Many of these tests work by evaluating functions under known conditions and comparing the result with the known result. The known result is acquired by …

Member Avatar for santakdalai90
0
303
Member Avatar for iamthesgt

This is another homework problem. I thought it was easier, and I wouldn't need help, but I keep getting a segmentation fault when running the program. The assignment is to use a recursive function to output the amount of candybars we can buy with a user-inputted amount of money. Each …

Member Avatar for markshah2
0
613
Member Avatar for nnaaddrr

this is my project its hard who can write it for me please Write a C++ program to read, save, sort, search and display the students’ ids, student names and marks of N students.fficeffice" />>> N=7 should be declared as a constant in your program. You must use arrays to …

Member Avatar for Narue
-2
119
Member Avatar for ztdep

Dear friends: I am working on a C++ computational geometry code, and i want to make sure whether two points are the same by comparing their x y and z coordinates. The coordinates of the points are in the double formate. since the pc can not represents the double number …

Member Avatar for ztdep
0
1K
Member Avatar for gregarion

Hey guys , i have a small problem regarding calculation in c++. Here is an example below [CODE]int main() { int f = -32; int d = 2; int re = d - f; int re2 = 2 - (-32); int re3 = 2 - - 32 } [/CODE] The …

Member Avatar for tkud
0
119
Member Avatar for Saith

I somewhat understand the concept of the parentheses overload when you need to use an object as a function. The question that I have is why does the max variable in the listed code below always input 2. [CODE] /* Purpose: This is the header file of randomInteger.h The class …

Member Avatar for Saith
0
330
Member Avatar for surferxo3

[CODE] //Mohammad Sharaf Ali k092094 #include <iostream> #include <iomanip> #define INFINITY 999 //Max Length using namespace std; class Graph { private: int adjMatrix[15][15]; int predecessor[15],distance[15]; bool mark[15]; int source; int numOfVertices; public: void read(); void initialize(); int getClosestUnmarkedNode(); void dijkstra(); void output(); void printPath(int); }; void Graph::read() { cout<<"Enter the …

Member Avatar for template<>
0
208
Member Avatar for ocramferreira

Hi all, well my problem isn't a practical problem. I have a project to do which is a word game.First of all i have a .txt (a dictionary) my program has to fetch a random word and shuffle it. With the combination of those letters the program has to find …

Member Avatar for iamthwee
0
561
Member Avatar for GamerXxX

In my code i have got when player touches point,it registers collision and prints out score in the console, the problem is that for some reason instead of just printing one score-point per point (There is 10 points in the array) it continues to add score for as long as …

Member Avatar for GamerXxX
0
132
Member Avatar for andylbh

The code below is what I have done up so far. I'm currently trying to complete one of the 4 classes I have, so the codes are incomplete and made to work at it's current stage. Q1. I need to have 3 different sorting criteria: 1.Sort by X (asc/desc) 2.Sort …

Member Avatar for mike_2000_17
0
780
Member Avatar for QuesoTaco

I am using Microsoft Visual Studio 08 version on a computer where I do not have admin privileges. After building my project, I want to put the .exe into the Visual Studio 08's VC folder in order to run dumpbin from the command prompt, but it won't let me copy …

Member Avatar for template<>
0
525
Member Avatar for programing

waht the steps to make c++ compiler my compiler is to define - ,+ * / mathematical expresstion ? how i can make it plz :) i realy need help

Member Avatar for template<>
0
122
Member Avatar for Ertzel

I'm trying to create a Chat program for people to talk to each other through. So far I have it so multiple clients can connect to the server and send/receive messages to/from the server. The problem I'm having is because of the way Clients that are connected to the server …

Member Avatar for template<>
0
990
Member Avatar for shadowscape

Heres a interesting question for you guys, is it possible to check a file to see if its signed in c++ and if you wouldnt mind could you write me a function how to do this as it would really help alot, thanks. Kindest Regards, Nathaniel Blackburn

Member Avatar for template<>
-1
256
Member Avatar for tonysun

Hi, I'm trying to link c object with c++ (using QT Library) object and find the following error. tonysun:~/tmp# g++ -c main.cpp tonysun:~/tmp# gcc -c mainlib.c tonysun:~/tmp# g++ -o main main.o mainlib.o [ICODE]main.cpp:(.text+0x64): undefined reference to `para_prep()'[/ICODE] <<main.cpp>> [CODE]#include "mainlib.h" int main(int argc, char *argv[]) { para_prep(); /* Here are …

Member Avatar for tonysun
0
4K
Member Avatar for eman 22

How can i get th execution time ?? I tried to use library <time.h> [CODE] clock_t tStart = clock(); //put here my code double executionTime=(clock() - tStart)/CLOCKS_PER_SEC; [/CODE] here the excution time always zero. so what's the error here??

Member Avatar for eman 22
0
182
Member Avatar for mbouster

Hi guys, I need to implement a program for simulating the flooting algorithm. Can someone suggest from where to start. I will use structs or classes? How the flow of the program will be?

Member Avatar for mbouster
0
2K
Member Avatar for eman 22

is there a way to convert from pointer array to array I tried the following, but it doesn't work. [CODE] int[]a={1,2,3}; int* p; p=a; a=(*P);// doesn't work [/CODE]

Member Avatar for mike_2000_17
0
84
Member Avatar for pravej

Anyone can help me to write a code in C++ to reverse a string. Example: i/p= " string with space " o/p= " ecaps htiw gnirts " Better if we use function or class. Thanks in advance

Member Avatar for template<>
0
239
Member Avatar for cableguy31

As part of a school assignment, I have to analyze a binary and determine what is does and what it takes to cause the various "branches" (if statements) to be triggered. I performed a strace on the file and the only part that stands out is a gettimeofday call: [CODE]gettimeofday({1303744469, …

Member Avatar for template<>
0
264
Member Avatar for CodyOebel

OK im having a problem which I feel should be super easy within windows API gui programming, but I dont know how to go about it the right way. On a givin HWND when a single mouse click is qued and my program recognizes it and my windproc processes it …

Member Avatar for template<>
0
144
Member Avatar for Gnomy

I've been searching this for a little while now and I'm absolutely unable to figure out what the problem is. This is the code I'm having the issue with: [CODE] std::vector<std::string> TexName; TexName.push_back("mega.png"); [/CODE] and I get... error: 'TexName' does not name a type I've included both vector and string …

Member Avatar for template<>
0
538
Member Avatar for arun srinivaas

Hi Guys. I tried creating an insert into tree datastructure which is causing core dump. Please identify the issue... Here is the code [code] #include<iostream> #include<string> #include<stdlib.h> using namespace std; //Global Data struct Tree { Tree* right; Tree* left; int element; }; typedef struct Tree* TreeData; //Function Declaration void insert(TreeData …

Member Avatar for hag++
0
138
Member Avatar for IndianaRonaldo

char* p=(char*)malloc(10); in the above state ment,has the memory been initialised??...what is the difference between allocatingg it and initialising it?? thanks in avdance...

Member Avatar for IndianaRonaldo
0
206
Member Avatar for pritpal.singh88

hi friends i want a delay of 100 milliseconds in my program as their is delay function in dos.h likewise i want to know [B]is there any function in c++ for delay of some milliseconds im using ubuntu.[/B]

Member Avatar for sergent
0
922
Member Avatar for template<>

Hello Community, I am trying to figure a simple way approximate cost of context switching for a given OS/hardware combination under different loads. For example on my 2 GHz dual core MAC OSX, running single instance clocks at 0.5 usec where as three instance at 1.3 usec. Below is sample, …

Member Avatar for template<>
0
378