Posts
 
Reputation
Joined
Last Seen
Ranked #759
Strength to Increase Rep
+5
Strength to Decrease Rep
-1
68% Quality Score
Upvotes Received
4
Posts with Upvotes
4
Upvoting Members
4
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
5 Commented Posts
~40.3K People Reached
Favorite Tags
c++ x 37
c x 21
Member Avatar for lara_

i just want to whether there is a replacement for getch() in C++. my friend said getch() is C function. thanks!

Member Avatar for nootan.ghimire_1
0
7K
Member Avatar for Lost in Code...

Greetings, I'm having a problem with this code below. I want to ask 3 questions and then gather userinput into char variables. When I run the program it asks the first question and then outputs the answer. Then it asks the second question, but does not allow the user to …

Member Avatar for bajishareef
0
5K
Member Avatar for phoenixlsk

hi i need some help. i have to do a linked list using XOR and i don't know how to do it. thanks

Member Avatar for manojthesingham
0
364
Member Avatar for prushik

I would like to know once and for all how to convert a double to a const char* I've tried it a few times, but have never succeeded, I know it can be done, but I haven't figured out how to yet. I've tried some different things. Sometimes it won't …

Member Avatar for Seta00
0
2K
Member Avatar for BigDAlcala

I'm sure there must be some smart programmers like you who play this game. WoW is a monster of a program, is it not? I couldn't even begin to plan a game like that with my knowledge. Anyways, since I get a lot of help on this forum, if any …

Member Avatar for techbound
0
124
Member Avatar for weasel7711

Trying to write code to concatenate two arrays of pointers to chars (char* example[]) The program should randomly generate a sentence using 4 arrays of prepositions, nouns, adjectives, and verbs. I found a concat algorithm somewhere on the net and modified it to fit my needs but whenever i execute …

Member Avatar for Narue
0
186
Member Avatar for Arbhin

Hello, people. First of all, I am new to this forum, so greetings. Second, I just started with learning C++. All the help, on where to start lessons and the like, are ver welcome. Why did I start on programming. * I wanted to create a MMORPG. And thought about …

Member Avatar for Arbhin
0
128
Member Avatar for toxic

hello. i'm new here and new to C programming so would appreciate any help with a problem i have. how can i copy the contents of a command line argument e.g. argv[1] to a string declared within main() e.g. filename[30] cheers..... PS this isn'y my homework:lol:

Member Avatar for Duoas
0
17K
Member Avatar for zandiago

Good day folks. I just want to know what you all think about the following: Do you think life would be better if we had start doing things the it ways years ago. Think about it...if each of us had planted our own vegetation and food in general and then …

Member Avatar for iamthwee
0
216
Member Avatar for ChaseVoid

I've just looked up my homework and found that that I had to do a Project/Presentation on Microsoft .NET Development Tools and my sub-topic happens to be Visual C++. While doing research about it, I found out about Managed C++ and the recent advanced version C++/CLI by Microsoft. I know …

Member Avatar for Ptolemy
0
218
Member Avatar for nitro

Can someone plz give me the C++ code for the following: (1) linear probing (2) separate chaining (3) quadratic probing (4) double hashing I know the theory behind it but i dont seem to be able to put it into code! plz help me P/S: im not asking you to …

Member Avatar for Ptolemy
0
101
Member Avatar for #include_rose

I keep getting this warning every time I compile the following code. Can anyone please tell me what I am doing wrong. Also, the printf(head->data) keeps saying that printf's argument is invalid. How do I print head's data? Any help is appreciated. Thanks, [CODE]#include<stdio.h> #include<malloc.h> typedef struct { int data; …

Member Avatar for #include_rose
0
291
Member Avatar for Aarthi Gopal

i had a prob wen i had to sort each column of a matrix. the prob s wen i use larger values say 2453,23465 etc. the sorted matrix returned garbage values.. y s that? n how do i find factorial for 300 n bigger numbers?? i'm not able to store …

Member Avatar for Ptolemy
0
105
Member Avatar for turkgames

I made a program in C for my school work but i cant make it work.Piglatin means cutting the first character of a word and adding it to the end and finally adding an "a" to the end.For example teacher -> eacherta. Can you help me finding the problem? [code=c]/***************************************************************************************/ …

Member Avatar for WaltP
0
96
Member Avatar for zandiago

Good day. My infile contains the following: [CODE] TFFTFFTFFTFFTFTFTFTFFF A33 TFFTFFTFFFFFTFTFTFFFFT Z27 TFFTFFTFFTFFTFTFTFTFFT X12 TFTT FTFFTFFFT FTFTFFF H44 TFFTFFTFFTFFFFTFTFFTFF Q19 FFFFFFFFFFFFTFTFTFFFFF D72 TFFTFFTFFTFF FFFFFTFFF W32 FFFTFFTFFTFFTFTFTFFTTT Y09 TFFTFFTFFTFFTFFTTFFTTT S44 TFFTFFTFFTFFTFTFTFTFFF G11 FFTFFTFFTFFTFTFTTFTFFF J21 TFFTFFFFFTFFTFTFTFTFTT K61 TFFTFFTFFTFFTFTFTFTFT M03 TFFTFFTFFFFFTFTFTFTFFT P24 TFFTFFTFFTFFTFTFTFFFFT N54 FTFFTFFTFT TFF FTFTFFF F33 TFFTFFTFFTFFTFTFTFTFFF Z21 TFFTFFFTTFTTFFTFTFTFTF V39 TFFFTTFTTFTTFTFTFTTFFF …

Member Avatar for zandiago
0
3K
Member Avatar for dddave999

I would ultimately like to write my own OMR (Optical Mark Recognition) program. What language would you recommend is best to carry out this task.

Member Avatar for dddave999
0
326
Member Avatar for Duki

Hey guys, I'm supposed to write a program that will calculate the Nth fibonacci number, without using recursion. I have the recursion problem written already, but am having a hard time doing the iterative one. here's my recursion function: [code]int fib ( int n ) { if ( n <= …

Member Avatar for Duki
0
731
Member Avatar for warpstar

Each of the following program segments might have syntax, logic or other kinds of errors. If there are errors, correct, otherwise answer "no error". Assume all function headers are correct. Function copy_array receives an integer array a and its size length, as parameters. It copies the array a into another …

Member Avatar for Ptolemy
0
160
Member Avatar for warpstar

[code] _ _ _ _ function2(_ _ _ _ _ _ _ _ _ _ _ ); main{ int n[]= {4, 5, 6}; int *kptr ; kptr = function2( n ) ; } [/code] Fill in the blanks and you get: [code]int *function2( int array[ ]); or int *function2( int …

Member Avatar for WaltP
0
119
Member Avatar for zayalaksme

please any one send a program to "[B]addition and subtraction of two SIGNED BINARY NUMBERS by using 2'S COMPLEMENT[/B]" it is urgent

Member Avatar for Salem
0
68
Member Avatar for vinaychalluru

Hi,every one.I am new to C language and there I had tried a program as here and I got an output from what I had expected and hope you will help in this aspect and I have given the program as an attachment for better viewing of it. thank you …

Member Avatar for Ptolemy
0
124
Member Avatar for Duki

Hey guys, we were given an opportunity for extra credit in my OOP class. We're going over recursion and my prof said if we could do a project using recursion and do another useing iterative statments, and time them, we would be given extra cred. Is there a way to …

Member Avatar for Duki
0
89
Member Avatar for Ptolemy

>I disagree. You have to have all kinds of special code to get scanf() to work properly. Only if you aren't using scanf for what it was designed in the first place. When you have to write workaround code to get a function to work, you're using the wrong tool …

Member Avatar for Dave Sinkula
0
411
Member Avatar for JesseQ
Re: Help

ok here is my code [code=C++] #include <iostream> #include <ctime> using namespace std; int main(void) { char cName[81] = "", cUser[9] = "", szComp[9] = "", szr[5] = "Rock", szp[6] = "Paper", szs[9] = "Scissors"; int cComp = 0; srand(static_cast<unsigned int>(time(0))); cComp = rand()%3; if (cComp == 0) strcpy_s(szComp,szr); if …

Member Avatar for twomers
0
162
Member Avatar for megan-smith

hey! I'm working on a program that part of it asks for an integer input. then if the value entered is not an integer, it should print an error message. If not, then the rest of program (which I've got partly complete). But, I have no idea how to distinguish …

Member Avatar for WaltP
0
566
Member Avatar for pyramid

I need to write two functions to calculate the speed and the $fine for over speeding. The formula I need to use is: V = c * (W0 – W1) / W0 I wrote the function to calculate the speed, but the results are incorrect, using the formulas below. V …

Member Avatar for pyramid
0
301
Member Avatar for prushik

This is my function for triangular collision checking. ship[i].x1 ship[i].x2 ship[i].x3 ship[i].y1 ship[i].y2 ship[i].y3 Are all integers missile[j].x missile[j].y Are doubles PI is a constant equal to 3.14159265 Everything compiles correctly, but for some reason a1, a2, and a3 all end up being equal to 0 Is there something wrong …

Member Avatar for prushik
0
167
Member Avatar for koolboy
Re: help

hi all, I need a little bit of help. heres my problem. if someone can help me get started, tht would be really wonderful. many thx in advance. there are 7 different numbers are given which are emplyee identification number. The program should display each employee number and ask the …

Member Avatar for prushik
0
105
Member Avatar for locy

can someone give me a hint on how to write C programm with this output. 0 00000000 00000000 00000000 00000000 cammand 1 00000000 00000000 00000000 00000001 and so on i ve try this but it doent work scanf("%d",integer) printf("\n wert war: %d,integer") return 0;

Member Avatar for locy
0
70
Member Avatar for lrnzsmok1

Hey i wrote this program but im getting some type of error in one of the lines of my code. This program is suppose to add, subtract, and print the complex numbers. I wont type out the whole assignment but this is basically what it does. I'll really appreciate it …

Member Avatar for Ptolemy
0
144