Posts
 
Reputation
Joined
Last Seen
Ranked #379
Strength to Increase Rep
+7
Strength to Decrease Rep
-1
80% Quality Score
Upvotes Received
5
Posts with Upvotes
5
Upvoting Members
3
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
5 Commented Posts
~32.8K People Reached
Interests
Programming, Sports, Gaming, Anime
Member Avatar for Narue

When you want to remove extraneous characters from an input stream in C++, it's usually because you mixed formatted and unformatted input methods. The formatted method would leave a newline in the stream and the unformatted method would consume it and terminate successfully, but fail completely to do what you …

Member Avatar for Smn
18
13K
Member Avatar for u8sand

Ok so I've used function pointers for some time. I was trying to figure out if this was possible. First. It IS possible to convert a function pointer into an array of bytes. It is also possible to reconstruct that function with the bytes in that array. I would like …

Member Avatar for doug65536
0
186
Member Avatar for Ravic85

[QUOTE]Write a program that uses a class named Rectangle. The class has floating point attributes length and width. It has member functions that calculate the perimeter and the area of the rectangle. It also has set and get functions for both length and width, The set functions verify that length …

Member Avatar for Ravic85
0
147
Member Avatar for u8sand

I programmed this vector class to support different types and different amount of dimensions. (class T,int D) D is the dimension. I don't use templates much and I'm running into an error, my constructors aren't working. Here is my class [CODE]#include <stdio.h> #include <stdarg.h> template <class T,int D> class Vector …

Member Avatar for mike_2000_17
0
245
Member Avatar for skatamatic

Well I don't have any specific question. I've been writing a chess game and can't seem to figuire out what the problem is with it! I tried debugging it for a few hours now and am about to give up altogether and rewrite it. The problem occurs seemingly randomly when …

Member Avatar for robab
0
165
Member Avatar for u8sand

This may seems like a lame question but I have yet to find something online helping me with my problem. Many websites you go to (excluding this one) instead of putting bla.php?id=2 they will have a url that looks like its in a folder or something like: /bla/2 An example …

Member Avatar for pritaeas
0
100
Member Avatar for jeffpro

Hey guys, First post here. This community looks create. I'm working on a final school project and we must move the cursor to a designated position without the use of: mouse_event() SetCursorPos() we then need to perform a check to say if the position is correct with the numbers we …

Member Avatar for mitrmkar
0
99
Member Avatar for u8sand

Hello, Recently I've been doing some Windows API programming and I came across a problem. I want to make a console program that accepts commands, when the command 'win' shows up it will create a window with some automated features. Lets say I had a command sendfile [file-path] [where]. I'd …

Member Avatar for nbaztec
0
175
Member Avatar for ronnieaka

okay so here's the little piece of code that would be useful in a sudoku program that i'm making... this function leftover is simply extracting the set minus of two arrays. i don't know if logic's been having any problem but i think its pretty simple clear. oh, and i'm …

Member Avatar for u8sand
0
202
Member Avatar for tonis

As we all konw that Mozilla's next-generation web browser - the final version of Firefox 3.5 is released on Jun 30, 2009. The new browser bring us many new features, improvements and unexpected surprise. Supporting new web technologies, improving performance and ease to use. According to SunSpider data,the speed of …

Member Avatar for jaikanth123
2
302
Member Avatar for godsgift2dagame

Hi guys, I'm really sorry to bother you with a simple question. I'm doing an assignment with operator overloading at the moment & seem to not understand how operator+ should be used in regards to my program. I understand the point of it & how to get it when using …

Member Avatar for Banfa
0
124
Member Avatar for ChummyCakes

Hello. For one or two of our Windows XP Home Edition profiles (too many kids), but not all profiles, we've been getting a Windows Defender Warning stating WD has "detected programs that might compromise privacy or damage our computer." It names "TrojanDownloader:Win32/Renos.DZ." Paired with this is a 'b.exe' message stating …

Member Avatar for ifigueroa
0
375
Member Avatar for fugnut

My first attempt at 2-dimensional arrays is not working out so well. We are to simply initialize an array and print out the results. My problem is that the data contains text and numbers.....column header is car color, row header is car make. I am getting error for lines 19 …

Member Avatar for u8sand
0
177
Member Avatar for u8sand

Hello guys, I'm creating my own website-it's coming along very well but I'm stuck. There is a login, so that you can login to your account. Each account has an access of 1-10, if your access is 0 you are not logged in. When you put your username and password …

Member Avatar for venkat0904
0
127
Member Avatar for dylank

Hi, I have a program that I am using to convert a string into binary. My current code is as follows: [CODE]int main(void) { string userInput; cout << "Enter a string to be converted:" << endl; cin >> userInput; for (int index = 0; index <= userInput.length(); index++) { cout …

Member Avatar for dylank
0
156
Member Avatar for ninreznorgirl2

I've worked with making classes, but I've never had to use a class in code that I write, so I'm having a hard time. [CODE]#include <iostream> #include <string.h> #include <iomanip> #include <ctype.h> #include "String2.cpp" using namespace std; const int MAX_WORD_LENGTH = 254; // The type definition below permits much easier …

Member Avatar for u8sand
0
203
Member Avatar for u8sand

Hello everyone. Im sure this is a simple winsock question but maybe im wrong... I searched everywhere and keep hitting dead ends. Im just learning how to use winsock and still have yet to find a good tutorial. But i found a class which i will start with. Only problem …

Member Avatar for lashatt2
0
110
Member Avatar for francisabey

If you have a PC shared with your friends, your brother or your cousin; your private files, videos and images are always at risk of getting seen by them. An easy way to protect your file from others is to make them “super hidden”.Super hidden files/ folders become system files …

Member Avatar for ym_chaitu
0
919
Member Avatar for u8sand

Hello, I have my own website where I make programs and put them up on my web page, it has info on the programs ext.. I also allow other people to put up they just have to e-mail me with a specified template. But I want to make this easier …

Member Avatar for diafol
0
262
Member Avatar for u8sand

Microsoft Update wants to install the latest version of Silverlight (KB970363) on my computer but every time it goes i get the same error. (A picture of the error is attached). I tried browsing to the folder, but it still did not work. I tryed uninstalling so i could just …

0
108
Member Avatar for siji44

Hi, I have designed one html page (home) with CSS. I have four more pages in html and want my heading and menus to be repeated. How should i do it? Do i have to write all the heading and menu contents in each of my pages or is there …

Member Avatar for bbqkaren
0
398
Member Avatar for Beastmanh

When I first started using Windows Vista I ran into this problem. I couldn't find where the "Run" link was! I finally had to google it...(having not known the hot keys to get it all these years... tsk tsk) So in case you have just bought/installed Windows Vista (poor soul) …

Member Avatar for kaninelupus
1
543
Member Avatar for shealy

I have 2 binaries - a java binary that requests a microsoft word doc from a c++ binary. The C++ binary opens the word doc in binary mode, reads x no of chars and returns chars to java binary. Java binary eventually receives all data and writes data using filestream …

Member Avatar for Krushnat
0
535
Member Avatar for jebinaelsie

CString constructor or assingnment or serialization of CString causes the application crash in a multi-processor environment,(this happens in a heavily loaded condition when more than 500 threads are running) whereas it does not cause any problem in single processor environment.

Member Avatar for u8sand
0
126
Member Avatar for Ather14

I am trying generate even fibonacii numbers less than four million, but I keep getting negative numbers at some point and eventually it converges to a positive answer, which is obviously wrong. Can anyone please help me out? #include <conio.h> #include <stdio.h> void main (void) { clrscr(); int f1=1; int …

Member Avatar for NathanOliver
0
175
Member Avatar for Pokenerd

Hi, I'm looking for some help with this short program I am writing... I'm trying to make the sure that the user enters a number when it asks for the temperature in Celsius, and when the user enters a number it works. However if a letter is entered it all …

Member Avatar for Pokenerd
0
174
Member Avatar for somyasinha

Hi, How do I use the generator in the file? I keep randomc.h as a header file in the Visual c++ project. My project has several header files and several .cpp files, many of which require to use the random no. generator. I have copied all the files in the …

Member Avatar for u8sand
0
133
Member Avatar for didijc

Hey C++ guru's... I'm pretty new to the C++ world and would really appreciate some help... ... I'm trying to build a general tree (a tree with one root and N children), I've written the code and compiled it quote/un-quote successfully... ...I say that because I am faced with a …

Member Avatar for Laiq Ahmed
0
1K
Member Avatar for Stefano Mtangoo

Hello developers, I have been playing around with C++ and wxWidgets for a little time now and I think it is time to make a little useful program I am planning to make a CD ripper and Encoder (re-inverting the wheel purposely for learning) and I plan to use CDRip.dll …

Member Avatar for Stefano Mtangoo
0
128
Member Avatar for GooeyG

I need to create two enumerations, one for the months in the year and the other for birthstones. Make a function named getBirthStone that returns the birthstone based on the month. Jan-garnet Feb-amethyst Mar-aquamarine Apr-diamond May-emerald June-pearl July-ruby Aug-peridot Sep-sapphire Oct-opal Nov-topaz Dec-turquoise Add code to call the function when …

Member Avatar for ithelp
0
150