551 Topics

Member Avatar for
Member Avatar for mmeyer49

I'm almost done with my 2D dungeon game, but for some reason i cannot move when my program calls to move i cannot move ever when i set the Vitality to 100 it sets it to 0. When i remove the params and make it so it will move it …

0
81
Member Avatar for tomkeeee

[code=c] // lokalasss.cpp : Defines the entry point for the application. // #include "stdafx.h" /*int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { // TODO: Place code here. return 0; } */ //////////////////////// [/code] // ddd.cpp : Defines the entry point for the console application. // [code=c] #include …

Member Avatar for tomkeeee
0
180
Member Avatar for uthman4u2nv

How can i read my PDF files on my iPod. I have some notes in PDF that i want to be able to read on my iPOd on the go. I learnt its possible but i dont know how to know aw to go about it any suggestions?

Member Avatar for FlamingClaw
0
84
Member Avatar for guest7

Hi, I am getting the error "Segmentation fault" when i run my program. Then when i debug the code to find the cause of the error i get the following error messages. I do not know what these error messages mean: Error Message: ------------------------------------------------------------------ Program received signal SIGSEGV, Segmentation fault. …

Member Avatar for rm_daniweb
0
120
Member Avatar for orwell84

Okay, so I'm thinking of getting a simple wired router by Linksys or something just to practice some cisco networking things that I plan on learning a bit over the summer. You know, just some IOS practice and things like that. My questions is, which router should I get? I've …

Member Avatar for hughv
0
98
Member Avatar for CPPRULZ

Hello I am currently making a program for a database which includes an SSN. The user can input the ssn but I want it in xxx-xx-xxxx and to make sure the user ddoes this have the user input 3 numbers then 2 numbers then 4 numbers in seperate cin statements: …

Member Avatar for ArkM
0
138
Member Avatar for waldchr

I am working on a fairly large project for my chemistry teacher (NOT homework!). I thought that it would be nice if the program could search a file for a user entered string and display all lines that had that string. I have gotten it as far as I can …

Member Avatar for waldchr
0
100
Member Avatar for serkan sendur
Member Avatar for nirav bhatt

[CODE] #include <cstdlib> #include <iostream> #include <string> #include <math.h> #include "utils.h" #include <float.h> #include "onboostnn.h" //using namespace std; /* Constructor function. This sets the training example file and number of base models. It also sets to NULL other variables to be used later. */ onboostnn::onboostnn(datafile* examples_to_train, long new_num_base_models, int new_num_epochs, …

Member Avatar for ArkM
0
143
Member Avatar for Argo54325

Ok so i made a decoder for this that gets the letters from the numbers that this encoder gets. Problem is that i think the numbers its giving me are wrong and i can't seem to figure out whats causing the problem. Help please! :( [CODE=C++]#define _CRT_RAND_S #include <iostream> #include …

Member Avatar for Argo54325
0
125
Member Avatar for Argo54325

When i runt he code and try to get the size of the 2 files something goes wrong with the msgIn file. I'm using the same method for both files and the bookIn will work but msgIn just returns 0 as if it never ran. this is the method that …

Member Avatar for Salem
0
149
Member Avatar for chetan_8187

I have the following code it works for mpg files But it grabs every frame of video I want to grab Single particular frame or/at particular time plz help me and post the modified code Its urgent Code: import java.awt.*; import javax.media.*; import javax.media.control.TrackControl; import javax.media.Format; import javax.media.format.*; import java.io.*; …

Member Avatar for chetan_8187
0
538
Member Avatar for forumdude123

I am [I]considering[/I] jailbreaking my iPod touch. I have some questions before going any further: 1. Can I restore in case of failure or if I hate the jailbreak? 2. What are the risks associated with jailbreaking? 3. Should I experienced problems will I be able to fix it under …

0
86
Member Avatar for priyank.ranka

Hi EveryOne, Before going through my concern, i would like to introduce myself to u guys i m Priyank Ranka from India...developing games on iPhone i started with iphone 8 months back with 2D game development. Now i want to start with 3D game development on iphone itself. i hve …

0
68
Member Avatar for maddy05

this is a project made by me but its issue function is not working well instead of modifying and changing the value of issue to 2 it is adding another book with issue 2 in the file can some one correct it // **library management** // // **library members can …

Member Avatar for Murtan
0
262
Member Avatar for umen

Hello all im looking for places in the net that offer platform that im as developer can build applications on them . for example Apple AppStore and sFaceBook . is there more platform like this ?

Member Avatar for umen
0
106
Member Avatar for caterina182

I'm currently letting iTunes manage my music, which is something I've never trusted it to do. I have about 8GB of music that's only on iTunes music folder and everytime I rip new CDs or download new songs I just put them in my Music folder, which I have added …

Member Avatar for slimeyapple
0
226
Member Avatar for Ferd Berfel

First off, I apologize if this is in the incorrect forum. I couldn't really tell where it should go, because it's a software problem on an Apple hardware product. If this is in the wrong spot, again, I apologize. That being said, I've been experiencing some problems with my iPod …

Member Avatar for karen964
0
125
Member Avatar for aniruddha_may92

Hello guys, I'm making a C++ project on periodic table.In that,i want to search for elements on the basis of their names in such a way that if i give an alphabet or more than 1 alphabets as the search value then all the elements starting from that letter should …

Member Avatar for William Hemsworth
0
116
Member Avatar for Shinedevil

I have no idea how to make somthing like this, and i'm kind of new with file I/O. How would you start somthing like this? O.k. here is what I have to save, I have roughly 56+ variables that need to be counted in this. But what I am having …

Member Avatar for MosaicFuneral
0
149
Member Avatar for Shinedevil

I have no idea how to make somthing like this, and i'm kind of new with file I/O. How would you start somthing like this? O.k. here is what I have to save, I have roughly 56+ variables that need to be counted in this. But what I am having …

Member Avatar for daviddoria
0
161
Member Avatar for J4YP33

I am trying to open a file after getting its path from the user. here is the code. [CODE]#include <iostream> #include <fstream> #include <string> #include <cstring> using namespace std; void main(){ const char* filepath; string input, input2; char lines[110]; ifstream infile; cout << "Enter filename (including path): "; getline (cin, …

Member Avatar for J4YP33
0
250
Member Avatar for clutchkiller

My dev-c++ compiler is telling me that ios::noreplace is not a valid member of std::ios. Why?

Member Avatar for clutchkiller
0
111
Member Avatar for sagar_d

[code=cplusplus] template <class T> void trace(LogBuffer& msgBuffer, T& data) { data.trace(msgBuffer); } [/code] In the above template fuction we are using a generic class T, but when we are compiling on gcc4.1.3 compiler we ar getting the following error. error:request for member 'trace' in 'data', which is of non-class type …

Member Avatar for Alex Edwards
0
122
Member Avatar for clutchkiller

When [code] using namespace std; [/code] are you able to overwrite it for a specific line e.g ios::app while using the fstream header? or does that mean i have to use std:: on everything else? thanks

Member Avatar for clutchkiller
0
90
Member Avatar for jerryclacks007

JB LINK PLAZA is a Recognized Distributor of Various Consumer Electronics, We Specialize in a wide Range of Products such as Laptops, Mobile Phones, Xbox 360, Sony Psp, Plasma Tv, Pda Phones, MP3 & MP4 Players, Video Games Console, Digital Cameras, Dvd Players, LCD TV, CD ROM, DVD Writer, Windows …

0
100
Member Avatar for tuttlem

Okay, I know I probably can't stop it, but it seemed like a good title. I am a junior systems analyst and I monitor Cisco routers and switches. On one of my routers, a Cisco 7200 series running IOS 12.2(15)T17, I have been monitoring a Denial of Service attack for …

Member Avatar for zeroth
0
190
Member Avatar for rishabh2011

hi everyone, I am making a textpad(basic textfile creator) in c++(console). It can create text files and then load them. But the problem is that when we load a file it can only show the data but not edit it or write further data. How do I code such that …

Member Avatar for Narue
0
117
Member Avatar for cplusplusgeek

I am developing an application for a video store, can someone guide me on different fragments of it.I need some help here. Here is what i have come up so far: [code=cplusplus] #include <iostream.h>// #include <string.h> #include <fstream.h>//Library fro File I/O using std::string; class Video { private: //Data Members string …

Member Avatar for Ancient Dragon
0
141
Member Avatar for dirtdogg

this is the program: [code=cplusplus] #include <iostream> using namespace std; int main() { double f0, speed, f1; f0 = 2e-10; speed = 75; f1 = ((speed + 6.685e8) * f0) / (6.685e8 - speed); cout << "The return frequency corresponding to 75 miles per hour is " << f1 << …

Member Avatar for dexter1984
0
121
Member Avatar for amrith92

hey, This might be naive, but how come this bit of code isn't working??? [CODE] int lc=0; read.open(filename_user.c_str(), ios::in); while(getline(read, linecount, '\n')) { ++lc; }[/CODE] Have looked through the internet, and this code seems to be fine, so what is it that makes it not work?? the output is always …

Member Avatar for amrith92
1
235
Member Avatar for tyserman5674

I have been trying to follow what you guys where doing here because I have to do something simalar. Can you tell me what the name of your file is jaffo, is it a .dat or a .txt file? You where using ary, is that the file name? Acient Dragon, …

Member Avatar for Ancient Dragon
0
104
Member Avatar for amrith92

Hello, Now, this may sound stupid, as it concerns basic file I/O, but my code doesn't work correctly- at least it isn't doing what I want it to. I wanted it to write a file the first time it runs, which it does perfectly, and every time it is run …

Member Avatar for amrith92
0
138
Member Avatar for scarypajamas

I've have a class function below (using fstream) for my game that I had working on Visual C++ 2008. When I tried to port my app to xcode, I found it compiled, but complained that the directory doesn’t exist. Believe me, the directory exists. I've checked and rechecked! Basically this …

Member Avatar for Member #46692
0
1K
Member Avatar for autumngardens

Hi, I would like to know if it is possible to read a file and write to the same file at the same time. For example, if I have [CODE] #include <fstream> // and other headers string temp_string; char result; fstream studfile; studfile.open("student.dat", ios::in | ios::out); // Is this correct? …

Member Avatar for Ancient Dragon
0
124
Member Avatar for 13L4D3

Well i am a starter in programming and need ur help. M using older version of borland c++ for programming. M trying to make a program which adds users login and password information and also verifies the correct login and password by accessing the contents of those files. but there …

Member Avatar for 13L4D3
0
209
Member Avatar for 007tron

Hi everyone, A couple of questions, please. 1) In my Airports class I am trying to get input data from a text file and put it inside the variables of an airport object that I'm going to create. 2) Then I'm going to try and store my Airport objects inside …

Member Avatar for VernonDozier
0
129
Member Avatar for c++noobie

Ok, I was trying to write a program that formats a plain text file to the formatting standards of gamefaqs.com (no trailing spaces and no more than 79 characters per line). To my eyes, my code looks perfectly fine and effective. If I run it with anything but a file …

Member Avatar for c++noobie
0
219
Member Avatar for pinkdiva

i have itunes and an ipod but the song 'get low' by flo rida wouldn't play properly on my ipod .. that song can be played fully on itunes but when i transfer to my ipod it wont play properly : jst a 30second preview grr i dunno why dat …

Member Avatar for pinkdiva
0
74
Member Avatar for Race

hi i ave an assignment on point of sale terminal where i have to write a program so that it displays the product ID, amount of product , cost of each product and then the total cost. the following code shows how i've started it. Could some one tell me …

Member Avatar for Nick Evan
0
83
Member Avatar for Alishaikh

[code]#include <iostream.h> #include <string.h> #include <vector.h> #include <fstream.h> using std::string; using std::vector; void function(vector<string>&fn,vector<string>&fnum,vector<string>&ln,vector<string>&lnum); void main() { ifstream fin,f2,f3,f4; //First name input vector <string> fname(25); fin.open("firstname.dat", ios :: in); for( int i= 0;i<25;i++) fin>>fname[i]; fin.close(); //Second name input vector <string> fnum(25); f2.open("firstnum.dat", ios :: in); for(int i= 0;i<25;i++) f2>>fnum[i]; f2.close(); …

Member Avatar for Ancient Dragon
0
101
Member Avatar for Phan

I haven't been on the forums for over like 20 days because I have been busy with things, and then my internet died. Not that anyone cared, but I'm just saying this so Vmane won't think that I just copied his code solution and ran away if he stumbled upon …

0
111
Member Avatar for Snaku919

Euhmm Ok i got some error that tells me that i can't open the program because there some error in my syntax but I really don't know where is the problem it self. #include <iostream> #include <iomanip> #include <cmath> #include <fstream> using namespace std; void voircatalogue(fstream&); void ajoutitem(fstream&); void ajoutclients(fstream&); …

Member Avatar for Snaku919
0
271
Member Avatar for scarface3288

I have succesfully done this but with one error. using ... ifstream input("infile.txt",ios::in) while(input.good()) { input.getline(file,100); outputfile<<file<<endl; } then I have some new code that writes this into another file. You may laugh when you hear this but the problem is that it add an extra line to the output …

Member Avatar for scarface3288
0
98
Member Avatar for scream2ice

i'm trying to write a program that reads a text from the user(keyboard) sentence by sentence and then prints the 'morse code' of them char bay char on a text file. I'm just testing it for the letter 'c' to start with, but it doesn't seem to be working well …

Member Avatar for John A
0
130
Member Avatar for scream2ice

i have text file with a series of words in it. some word contain the expression '.zip' , i'm trying to rerad the characters of the file and replace the .'zip' with '.rar' this is my prog, bu it's not responding [code=cplusplus] #include <iostream.h> #include <fstream.h> #include<stdlib.h> #include<conio.h> void main() …

Member Avatar for scream2ice
0
172
Member Avatar for scream2ice

i'm trying to write a program that reads a text from the user(keyboard) sentence by sentence and then prints the 'morse code' of them char bay char on a text file. I'm just testing it for the letter 'c' to start with, but it doesn't seem to be working well …

Member Avatar for Ancient Dragon
0
141
Member Avatar for anjaliraman

Hi All, The CPU Utilization in my program is too high when I am trying to read a file. Can you please suggest a better method. Please find code snippet that I am using. [code=cplusplus] void SyslogReader::isTrapRaisedFromTestClient(list<SNMPTrapInfo>* pListSNMPTrapInfo, const int nSemID) { int nWaitCount = 0; const int SYSLOG_MAX_MSG_LEN = …

0
47
Member Avatar for Gilson Rocha

Hello there Guys, I ve tried two days ago to install Ziphone 3.0 to unlock my ipod touch 1.1.4 version and install third parts appl., but I just have in middle of install a breakout on the pc, so the install was broken. As I had the pc in order …

0
68
Member Avatar for hsma

I am currently working on a mini project for my class. the project is designing a game called etch n sketch. you first etch out a map then quit the game after youre done. then sketch the etch you just created. the problem im having is the scoring system. score …

Member Avatar for vmanes
0
138

The End.