Posts
 
Reputation
Joined
Last Seen
Ranked #518
Strength to Increase Rep
+6
Strength to Decrease Rep
-1
75% Quality Score
Upvotes Received
64
Posts with Upvotes
56
Upvoting Members
25
Downvotes Received
23
Posts with Downvotes
17
Downvoting Members
11
14 Commented Posts
~121.45K People Reached
Interests
C++, Java, J2ME, JAVA Swing, JavaScript, PHP, AMXX, DHTML, Video Editing, Poetry, Digital Imaging, Art,…
Favorite Tags
Member Avatar for DemonLady

I got this assignment and I'm stuck. I have to write a function that takes an integer value and returns the number with its digits reversed. For example, given the number 7631, the function should return 1367. Can someone help? :confused:

Member Avatar for Ajini
0
3K
Member Avatar for andyherebi

[B]PLEASE NEED HELP WITH THIS HOMEWORK.... THANKS[/B] THE FOLLOWING CODE PERFORMS A [B]SNAKE GAM[/B]E USING GRAPHICS.H LIBRARY IN [B]TURBO C++ COMPILER[/B]... PLEASE ADD TWO MORE FEATURES... USING AN "+" CHARACTER TO INCREASE VELOCITY OR REDUCE DELAY AND ALSO AN OPTION TO RECORD HIGHER SCORES. PICTURE: [ATTACH]15179[/ATTACH] THE FOLLOWING CODES NEED …

Member Avatar for tinstaafl
0
27K
Member Avatar for shubhamgore

[B]hi friends[/B] this small compact code is for printing any number of prime numbers in C Language, you just have to change the last line's 500 to any number you want, here some points necessary to understand the code are as follows- 1.> variable torf stands for true or false,in …

Member Avatar for markanderson4
-6
858
Member Avatar for owen99

hi can anyone help me i am trying to get a random character generator which generates 10 characters in ASCII range and then cast them into characters heres my code but its not working. it says error C2440: '<function-style-cast>' : cannot convert from 'std::string' to 'char' heres my code [code=c++] …

Member Avatar for Anilorap
0
1K
Member Avatar for dhruv_arora

My school and the education board uses Turbo C++ as the compiler. I have Windows 7 64 bit. Can anyone tell me how can I install Turbo C++ on my computer.

Member Avatar for harsh01ajmera
0
446
Member Avatar for anuragcoder

Hi! I've encountered another problem, The code below is just the part of the code where the error occurs int FindStr(FILE *f, char *str) { int s_pos; //string position in the text int c_pos; //char position in the text char *string; char ccnt; //char count s_pos = -1; c_pos = …

Member Avatar for thunderox
0
11K
Member Avatar for Michael27

Can someone show me algorithm so i can sort array like this? [Picture](http://i.imgur.com/HhQ4I.jpg)

Member Avatar for Mitja Bonca
0
348
Member Avatar for Despairy

Hi, Im trying to parse a file which contains some random text. How can i match a case which seperates "garbage" (anything but digit/letter) char?? for e,g: 25.5.5 will produce . (the 2nd dot, because 25.5 is a number (rational)) another e.g: ----3.82 will produce --- (because -3.82 is a …

Member Avatar for nbaztec
0
154
Member Avatar for pansquare

is there a way in python to only take from a file a string in between certain characters? for example, if i have this in a file: city state[long, lat]population how can i take from the line just what is in between the brackets (that is, come up with [long, …

Member Avatar for nbaztec
0
237
Member Avatar for espinosae

Hi everyone. I have a UI Design that I got coded by my software developer and when I change the color of an image and then run under "debug" The image stretches even though I never changed any dimentions or anything. All I did was change the color.Any ideas what …

Member Avatar for nbaztec
0
99
Member Avatar for asong

Your task is to write a program that checks html files, (web pages) to determine whether the embedded XHTML tags are balanced. Balanced tags are necessary for the file to be a valid XHTML file as explained above. The first phase takes care of reading the file and finding all …

Member Avatar for asong
0
218
Member Avatar for vlady

Hello Guys! Can anybody help me with this code? So what I need? here is it: I want to fill out global variable "student_marks" with a grade for each student and keep it once is loaded. So it means without calling the function "def add_mark()" I will be able to …

Member Avatar for vlady
0
124
Member Avatar for methosmen

I'm new to programming and C++. I've managed to succesfully insert multiple nodes from front. Problem is that when printing it starts with the latest node and goes "backwards". I would like it to start with the first node and print forward. Therefore I would like to insert new nodes …

Member Avatar for methosmen
0
266
Member Avatar for niyasc

Source code implemented by [B]Niyas C S2C PPMHSS Kottukkara Kondotty Malappuram Kerala St India[/B]

Member Avatar for ziyadgodil
-4
10K
Member Avatar for alexanderlegend

Hello everyone! I have been working on a sudoku generator. My main aim is to create a completed 9x9 grid that follows the rules of sudoku. The grid should display unique numbers every time it is run i.e the numbers have to be randomised. My logic in tackling the problem …

Member Avatar for alexanderlegend
0
6K
Member Avatar for pretu

HI All How can we generate a sine wave without using the sin() function. Thanks pretu

Member Avatar for jayeshkamble143
0
551
Member Avatar for flaviusilaghi

Could someone help me. I don't know why i get a stack corruption . Here is my program: [CODE]#include<iostream> #include <fstream> #include<conio.h> #include <string> #include "aes.h" using namespace std; int main(int argc, char **argv) { unsigned char key32[32]; unsigned char iv[16]; unsigned char* inbuf=new unsigned char[128]; unsigned char** intext=new unsigned …

Member Avatar for roboknight
0
192
Member Avatar for cppgangster

Hi, My program is trying to read from file Lithuanian words, the language has some additional characters than ANSII character set. The program uses wstring, wifstring classes for reading, but I gotta feeling it is something wrong with input,do I need any special directive to compiler or the language has …

Member Avatar for nbaztec
0
162
Member Avatar for oggiemc

Hi, Im trying to write some code which adds the combined height and weight of two dogs, returns the result and then displays it..The problem is, the result returned is wrong (i think the operation is just adding two memory addresses)..The =operator code is returning rubbish as well, i think …

Member Avatar for nbaztec
0
136
Member Avatar for MasterGberry

I am getting the following two errors, i am lost on how to fix them: Exc_3.cpp(54) : error C2082: redefinition of formal parameter 'name' Exc_3.cpp(54) : error C2440: 'initializing' : cannot convert from 'char[]' to 'char' Here was my original prompt, I think i did part B wrong.....wasn't sure how …

Member Avatar for nbaztec
0
197
Member Avatar for Abhishek_jn

Hi All, i want to know what is the use of const volatile variable, where exactly it is required to use.

Member Avatar for nbaztec
0
416
Member Avatar for Jaily

Can I somehow use the following code to remove all the elements of a binary tree? [CODE] void BinarySearchTree::remove(int d) { //Locate the element bool found = false; if(isEmpty()) { cout<<" This Tree is empty! "<<endl; return; } tree_node* curr; tree_node* parent; curr = root; while(curr != NULL) { if(curr->data …

Member Avatar for nbaztec
0
2K
Member Avatar for jawadsatti

plz mention me the errors i dont understand what i do.. [CODE]#include<fstream> #include<iostream> #include<string> #include<ctype.h> #define _TABSIZE 4 using namespace std; int tabsize = _TABSIZE; class token { public: token() : _what(code) {} public: enum type {code, comment, pp, keyword}; string _str; type _what; friend istream& operator>>(istream&, token&); friend ostream& …

Member Avatar for Nick Evan
0
134
Member Avatar for denmark22
Member Avatar for group256
0
105
Member Avatar for r3s3v0ir

Good evening guys.... i'm newbie in here and in c++... while i in the middle of pratice in making program... i try to make a stack that can check whether the string that user input is palindrome or not. i'm using visual studio 2010 and get autos error this is …

Member Avatar for Taywin
0
229
Member Avatar for vbx_wx

[code] int main() { const char* p = "Hello"; cout << sizeof(p) << endl; } [/code] Why this is 4 ?

Member Avatar for nbaztec
0
94
Member Avatar for kanchan arak

I want to implement a file lock using j2ME for mobile files...Can you please help me how to get started with? Can i get files in the emulator? I am using sun wireless toolkit 3.0 to implement it. I am designing it for symbian.

Member Avatar for kanchan arak
0
141
Member Avatar for caelt

I'm really frustrated right now because I've been looking all over the web on how to set up OpenGL to work with Microsoft Visual C++, but it seems like each website I find wants me to do something different. I feel like I'm missing something here...like I'm overcomplicating it. I …

Member Avatar for PsychoLogic
0
164
Member Avatar for pstrohma

Hello all, Does VC++ Express 10.0 even support the ability to get text from a text box? I've seen related threads having conflicting solutions, none of which actually work. Ex: must have SDK version x.y. This functionality seems to be so basic and necessary that solutions would be all over …

Member Avatar for pstrohma
0
257
Member Avatar for Alexkid

Hi there, Can anyone tell me why variables can have printed values of -858993460. I've got a pointer pointing to a memory address which has nothing in it so when i come to cout this it prints -858993460, if i give it a value then its prints that value. I …

Member Avatar for Alexkid
0
2K