Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
82% Quality Score
Upvotes Received
5
Posts with Upvotes
4
Upvoting Members
5
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
Ranked #2K
~18.1K People Reached
Favorite Forums
Favorite Tags
Member Avatar for ixmike88

hello, i started programming again after a while and i made this just to pass time/relearn the basics and stuff there is a weird issue that i can't figure out, when i input row 0 column 2 or row 1 column 2 it will fill the spot for both the …

Member Avatar for coltonbyu
0
819
Member Avatar for MAbebe

Hello everyone, Can anyone please help me figure out what I miss or did wrong to my code for not to compile? below are the code I did and I just couldn't figure it out what I missed. Thanks. [CODE] #include <iostream> typedef struct NodeType { char name; // the …

Member Avatar for FutureWebDev
0
448
Member Avatar for localp

I need some help to write to a MySQL database using C++. any basic tutorial will be appreciated. I did google but couldn't find a beginner tutorial. I am sort of lost here. :(

Member Avatar for Isaac Remuant
0
78
Member Avatar for Jaily

I've written a program that outputs text from a file as hex. And this works like a charm. But in the example in the assignment the output starts with: 000000 ...... 000010 ...... 000020 ...... And that part I haven't figured out how to do! Any pointers? Any links/tutorials I …

Member Avatar for Jaily
0
99
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
198
Member Avatar for tfmontague

How do I make an array (or an abstract data type) which can hold different data types? Then use those data types to create instances. I want to do the following: [code] int arrayType[3] = {bool, int, char}; /*arrayType[0]*/ myBool = true; /*arrayType[1]*/ myInt = 2; /*arrayType[2]*/ myChar = "a"; …

Member Avatar for alwaysLearning0
0
186
Member Avatar for narunaru

Hi, i'm a beginner software program developper ( i don't have advance knowledge on c++!!). I'm trying to make a gettime function where the program displays something like this: Monday October 2, 2009 10:34 am I know that constants needs to be declared, and I need to multiply 60 (number …

Member Avatar for ixmike88
0
89
Member Avatar for .:Pudge:.

My code works fine for smaller integers, but when it gets over 1 million or so the number changes or goes negative. I am sure this has to do with the range of int, but I tried float and double and all the numbers came out the same...... What is …

Member Avatar for .:Pudge:.
0
137
Member Avatar for simoneaolson

I am proficient in c++, however i know almost nothing regarding the windows api. What i want my program to do is intercept the CAPSLOCK key and ignore it (as if it weren't pressed in the first place) If the user presses SHIFT+CAPSLOCK it would toggle capslock on or off. …

Member Avatar for ixmike88
0
121
Member Avatar for slavacrilov

I have a program that requires to reverse the name which is a string, here's the code... it's suppose to work, no errors found.... but "Run time error" [CODE] int i = fullName.length(); while (i>=0) { cout<<"Your reversed full Name is: "; cout<<fullName.substr(i-1, 1); i--; } [/CODE] thanks

Member Avatar for slavacrilov
0
104
Member Avatar for Jake1905

I am completly lost on this could someone point me in the right direction into where I am going wrong with this code. [CODE]#include <iostream> using namespace std ; int main() { int x ; int y ; int temp ; int remainder ; // read in the two integers …

Member Avatar for ixmike88
0
96
Member Avatar for tmantix

Hey, This is probably a newb question, but what all can a string type variable hold? Is it restricted to just letters or can it hold things like "/\|;:'><!@#$%^"...?

Member Avatar for tmantix
0
229
Member Avatar for ixmike88

hi, im getting this error: [quote]Unhandled exception at 0x00c11005 in bnetconnection.exe: 0xC0000005: Access violation reading locaiton 0x00c11005[/quote] in this particular instance, what i got from the debugger is that 0x00c11005 is my _ProcessCommands function dll: [code]#include <iostream> using namespace std; extern "C" _declspec(dllexport) void ProcessCommands( const char*, const char*, const …

Member Avatar for mike_2000_17
0
700
Member Avatar for Armistice

Hi. Another newbie here looking for some insight. I have a menu drivin program with 5 functions. got first 3 down and the 4th wants me to read a plain text fil and output the length of the longest line. I know as far as getline(infile,str). where str is just …

Member Avatar for Armistice
0
454
Member Avatar for Bri426

I'm having so much trouble with this assignment, and I was wondering if anyone would be able to help me out. Here is the assignment: This program uses the file "cities.txt", which contains over 136,000 location names in the United States. Each line of the file contains a place name …

Member Avatar for SasseMan
0
361
Member Avatar for apautz22

I am working on the UVa problem 10032 - Tug of War, where I'm given the time constraint of 3 seconds to solve the problem. I have pasted the criteria for the problem below. [INDENT]A tug of war is to be arranged at the local office picnic. For the tug …

Member Avatar for apautz22
0
769
Member Avatar for fantasma

Greetings from Portugal I've been stuck for some hours now, since I can't get my n00b code to work as I want. Could someone give me a hint of what to do or what am I doing wrong? I have a file that writes something like this: 1001,Loja1,10 1002,Loja2,20 And …

Member Avatar for fantasma
0
126
Member Avatar for andre13

I need help with a C++ problem π= 4(1/1- 1/3+ 1/5- 1/7+ 1/9- 1/11+ … 〖(-1)^n /(2n+1)+ …) How many terms of series (1) you need to use before you get the approximation p of π, where: a) p = 3.0 b) p = 3.1 c) p = 3.14 d) …

Member Avatar for mike_2000_17
0
129
Member Avatar for ixmike88

hi i am trying to explicitly link a dll to my console application however LoadLibrary() keeps returning with error 126: the specified module could not be found the file is in the same folder as the exe, and i've tried moving it to system32 and it's the same error, so …

Member Avatar for ixmike88
0
3K
Member Avatar for ixmike88

hello i have made a program that connects to multiple servers and handles packets from multiple platforms (ie irc and some others) what i want to do is make a plugin system that will use my original program for connection purpose then have the plugin system be something like that …

Member Avatar for ixmike88
0
123
Member Avatar for cbsinc

Sorry to bother you all with such trivial stuff, but I just finished about 35 years of work in construction, all over the US and Europe. And when the market went south I went back to school. Calc and trig are going fine, but C++ is kicking my butt. We …

Member Avatar for cbsinc
0
115
Member Avatar for Sunday1290

I am trying to make a single player connect four game in C++. With the specifications being: [LIST] [*]7x6 [*]In order to win, the player must match four games pieces either horizontally, vertically, or diagonally. [*]One player, playing against a computer that makes random inputs. [/LIST] I'm confused on how …

Member Avatar for doc13p
0
2K
Member Avatar for GregPeters

Hi all. I have recently been learning C++ and have gained a moderate understanding of how things work. Texts files seem to confuse me though so i was wondering if someone could help me out. :) Basically I have a text file which looks something like: [CODE]** <Question> What is …

Member Avatar for csurfer
0
241
Member Avatar for ace8957

Hi all, So I'm working on this program to detect if the w' in a string in the form of w$w' satisfies the condition that w' is the reverse of w. The only problem is that I have a logic error that I don't understand. If I input the string …

Member Avatar for ace8957
0
230
Member Avatar for BecomingPro

Well, heres a code that I wrote that displays the number of letters in lower case of any sentence that I put into the program. [CODE]#include <iostream> #include <string> using namespace std; int main() { int count[256] = { }; string str; getline(cin,str); for(string::iterator it = str.begin(); it != str.end(); …

Member Avatar for WaltP
0
113
Member Avatar for cclausen7

I decieded to make a program that translates a phrase in english to "1337" or "elite". I have searched this website and others and can't find an answer to the error I'm getting. Thanks for any help :). Btw I'm using Bloodshed Dev C++, not sure if that matters. [code] …

Member Avatar for cclausen7
0
3K
Member Avatar for baconswife

With this program I need to be able to find the circumference, area, diameter and radius of a circle. Here is what I have, please let me know of any advice you have: [CODE]#include <iostream> #include <iomanip> #include <cmath> using namespace std; int main () { int x1; int x2; …

Member Avatar for Fbody
0
2K
Member Avatar for c++ failure

The Green Tree Service Company offers the following services to its customers: * tree planting - $35 for a small tree, $100 for a medium tree, $250 for a large tree * tree removal - $150 per tree * tree trimming - $50 per hour * stump removal - $75 …

Member Avatar for c++ failure
0
139
Member Avatar for zathura

i dont know what happen..when i complie..there's error... so..what suppose i do??please.. [CODE]#include<dfp.h> CMatrix CDfp::operator()(double(*p)(CMatrix&),CMatrix& X0,double e) { pfun=p,n=X0.getrow(); X.set(n,1),S.set(n,1); X=X0, error=e; CMatrix B(n,n),B0(n,n); CMatrix TiDu(n,1),TiDu0(n,1); CMatrix DG(n,1),DGT(1,n),DX(n,1),DXT(1,n); CMatrix E(n,n); CDiffer differ; double a; double dfm; int flag(0); int k(1),c(1); for(int i=1;i<=n;i++) B(i,i)=1; B0=B; TiDu=differ(pfun,X,error/10); dfm=TiDu.getmod(); ofstream out(".//result.txt",ios::ate); for(k;k<=n;k++) { …

Member Avatar for sundip
0
128
Member Avatar for heidik

Could you please have a look at the code and tell me the reason why it is giving me an error? [code] int timeDiff(std::string startDateTime, std::string endDateTime) { std::string strtYYYY, strtMM, strtDD, endYYYY, endMM, endDD; int strtY, strtM, strtD, endY, endM, endD; strtYYYY = startDateTime.substr (0, 4); cout << "String …

Member Avatar for ixmike88
0
141