199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for CoolGamer48

Hey, I'm writing an XML parser in C++. Currently it works, but too much of what needs to be done is left up to the end user. I'm trying to figure out a way to have a clean, more encapsulated interface for the parser, but I can't seem to think …

Member Avatar for dougy83
0
118
Member Avatar for preethi_ga

Hello friends, Im new to ASP, so can any one tell me where to write and run ASP codings??

Member Avatar for tomer1
0
147
Member Avatar for Dell XPS

i want to make a hotkeys app ... i need to detect keystrokes even if the form is not active so that by pressing a button i can launh the calculator.... or games and stuff like that... any ideas ? Thank you

Member Avatar for Dell XPS
0
252
Member Avatar for mzd12111

hi There Guys i want to design a mailbox(in windows application mode) so i need to draw a table (in fact a matrix ) which the Columns are "Sender" and "Subject" and the rows are different mails received. but i cant figure out how to draw a table on the …

Member Avatar for Ramy Mahrous
0
86
Member Avatar for vs49688

Hey, I have created a small application that has music playing when you run it. currently the mp3 file being played is external to the application. I have included the file in a resource script and is compiled into the application, but how do I get FMOD to play it. …

Member Avatar for mitrmkar
0
322
Member Avatar for C_isoundu

Hello, I've got this kind of problem, where I want to change a word inside of a text file. apparently, I can use the char to change the character, however, it can't changes any word or sentence, so can any one help me out. much appreciated. [CODE]#include <iostream> #include <fstream> …

Member Avatar for William Hemsworth
0
104
Member Avatar for 13L4D3

I have a .txt file and need to connect it. So in visual c++ do i need ODBC. if yes then can anyone guide me how to start with it.:-/

Member Avatar for mitrmkar
0
113
Member Avatar for kadajett

[CODE]#include <iostream> #include <fstream.h> #include <string> #include <vector> void input(int, std::string); void output(); using std::vector; using std::ofstream; int main() { std::string filename = "file.txt"; int number; vector<int> tileList(); std::cin >> number; tileList().push_back(number); input(tileList(), filename); output(); return 0; } void input(vector<int> tileList, std::string filename) { //vector<int> tileList; this needs to be …

Member Avatar for iamthwee
0
102
Member Avatar for bob on whidbey

I'm using D2007 and trying to add a new, blank record to my Access database with code. The DB has a 'day' field and a 'event' field. All works fine when a record exists for the given day. I need to learn how to add a record to the file …

Member Avatar for waynera
0
133
Member Avatar for Orbit2007

If you read anything from my last question you know I am working on a dice roller and I am on to the next step. Stage one was just trying to figure out how to get a random, and I finally got the to work. I can now roll and …

Member Avatar for johnsquibb
0
145
Member Avatar for jrb47

How can you make a table from a union query in access - i have the union working and producing what i want but i can store it as a view or as a table - i keep getting syntax errors [code] INSERT INTO HgTotals SELECT CollectionDate,HgTotalnglA as AllHGtotal FROM …

Member Avatar for boblarson
0
171
Member Avatar for Shadoninja
Member Avatar for Prabakar
0
789
Member Avatar for kahaj

I'm trying to get an email generated when a form is processed. This is my first stab at such. It's not working for some reason. When I comment out the lines concerning the email generation, it works fine. The problem apparently lies somewhere in that section of the code, but …

Member Avatar for kahaj
0
109
Member Avatar for fmwyso

Hey, I googled it and found TONS of pages, but most are for linux/C#/VB and I can't seem to get any C++ code for this X_X. I did a search on the forum, and couldn't find anything either... Anyway, I would like to have my program "ping" a host name …

Member Avatar for Ancient Dragon
0
222
Member Avatar for steveg1965

Hi Guys, As my ISP does support .asp but not CODOSYS, I was hoping someone might be able to help me convert this into simple .asp email script or something? [code]<% 'sets form variables dim sendtoemail, sendtoname, sentfromname, sentfromemail, messagesubject, messagebody, url, Email_SMTPAddress, Email_ServerComponent sendtoemail = request.form("sendtoemail") sendtoname = request.form("sendtoname") …

Member Avatar for steveg1965
0
148
Member Avatar for Rakesh Nagekar

Hello Friends, How to create Blogs in PHP can u please tell the websites and helping code for blogs Thanks in Advance Rakesh Nagekar

Member Avatar for adrenaline_elz
0
82
Member Avatar for soultrav

Hello! I am trying to make a program for string compression using LZ compression techniques, but the program is at the beggining - I fail to realise what goes wrong, but I think it is a problem with string operations. [code=C] #include <stdio.h> #include <conio.h> typedef struct comp { char …

Member Avatar for Narue
0
149
Member Avatar for kvdd

hello, I try the following query: [code=mysql] SELECT IF TIME(hour_end) > '21:00:00' THEN timediff(time(hour_end),'21:00') AS diff ENDIF FROM `hours` [/code] Why whould this not work? Any help would be appreciated.

Member Avatar for tesuji
0
115
Member Avatar for tommy1988

hi i wanna start programing with python just wondering if any one knew any sites which has python source code? would appreciate any help :)

Member Avatar for AKarnisky
0
216
Member Avatar for adaykin

Hello, I have done this successfully in firefox, but I need to do this in IE now, I want to dynamically generate an id for my input elements for an element being created. So far I can't get the id to come out correctly, here is what I have: [CODE] …

Member Avatar for adaykin
0
157
Member Avatar for kzdev

The following is a visual basic code [CODE] dim Msg1(5) Msg1(1) = "xMessage1" Msg1(2) = "xxMessage2" Msg1(3) = "xxxMessage3" Msg1(4) = "xxxxMessage4" Msg1(5) = "xxxxxMessage5" For cnt = 1 To 5 Debug.Print Msg1(cnt) Next cnt[/CODE] How can I do the same thing with ANSI C? (Instead of Debug.Print can be …

Member Avatar for kzdev
0
83
Member Avatar for Shadoninja

I ran into a bug on my program that I couldn't find on my own so I decided to transfer my project from Dev C++ to Microsoft Visual Studio. In Dev I got away with [code] string sName; cin >> sName; [/code] But MVS doesn't like doing that. What is …

Member Avatar for Narue
0
181
Member Avatar for javax_

[CODE] public class test { public static void main(String [] args) { Person p = new Person("ABC"); p.setName("DEF"); changePerson(p); System.out.println(p.getName()); } public static void changePerson(Person p) { p.setName("GHI"); p = new Person("JKL"); p.setName("MNO"); System.out.println(p.getName()); } } class Person { String name; Person(String name) { this.name=name; } public void setName(String n) …

Member Avatar for javax_
0
131
Member Avatar for bloody_ninja

[code=java] import java.io.*; class Factorial{ public static void main(String[] args) { try{ BufferedReader object = new BufferedReader(new InputStreamReader(System.in)); System.out.println("enter the number"); int a= Integer.parseInt(object.readLine()); int fact= 1; System.out.println("Factorial of " +a+ ":"); for (int i= 1; i<=a; i++){ fact=fact*i; } System.out.println(fact); } catch (Exception e){} } } [/code] Trying numbers …

Member Avatar for mzd12111
0
204
Member Avatar for sciwizeh

are there any good (comprehensive) tutorials that anyone knows of for the SAX parser? i cannot find a good one

Member Avatar for sciwizeh
0
83
Member Avatar for brk235

Hi friends i have one question about OOP. I have [CODE]class A { /function body here }; class B:public A { /function body here }; class C:public A { /function body here }; int main() { B b[20]; C c[40]; } [/CODE] Each object of the derived classes(B and C)has …

Member Avatar for vijayan121
0
124
Member Avatar for shadwickman

Hi, just a quick question but I couldn't find an answer to it. Say I have 3 variables, "a", "b", and "c". I want to assign each one a value of None. The only way I know of doing this is: a, b, c = None, None, None Is there …

Member Avatar for shadwickman
0
122
Member Avatar for zhouj

In the following code, f1 is an overloading function. In what situation will be the first called, in what situation will the second be called? #include <iostream> using namespace std; class A { public: void f1(){cout<<"f1 "<<endl;} void f1() const {cout<<"f1 "<<endl;} }; int main() { A a; a.f1(); return …

Member Avatar for vijayan121
0
171
Member Avatar for abhimanyuancha
Member Avatar for Orbit2007

I am trying to build a random number generator based on dice. Yes, I know there are ones out there but I am trying to do this whole programming thing for myself... I thought I had done it right but it keeps telling me "Warning: Division by zero" when I …

Member Avatar for Orbit2007
0
132
Member Avatar for leegeorg07

Hi i want to be able to open a python program on someone's computer but they don't have python installed and they don't have room to install it. how could i 'compile it' if that is the correct word, so that it can be opened as an exe file?

Member Avatar for vegaseat
0
109
Member Avatar for ctuga

Hi!!! I like to have a exchange Url in my site so that a user can add url to my site using a simple text box and then showing the url in main page. How can i do this ? thank's for help.

Member Avatar for jakesee
0
75
Member Avatar for mhil_joy

Please help me guys.. i need all your knowledge about this program.. kindly check where's the wrong here.. i need to program a tic tac toe. ONLY user can input.. i dont have any idea.. tnx.. have a great day [code=cplusplus] #include <stdio.h> #include <conio.h> #include <stdlib.h> #include <graphics.h> #include …

Member Avatar for William Hemsworth
0
172
Member Avatar for Edwards8

So, I wrote a little script to convert tifs into jpegs. The tifs are about 600mb in size, I reduce the size, and then convert. Here is the code in its entirety: [code=python] ## First we import the image library, Image object, and garbage ## collector, as well as os …

Member Avatar for woooee
0
436
Member Avatar for ALPHA_Wolf

One of my clan members put together the following script in python. It works great but I have a small problem. I have to have a 2nd copy under another name to take care of our game servers with a different password. Now I know nothing whatsoever about python so …

Member Avatar for woooee
0
187
Member Avatar for Shadoninja

I am making a text game where at each situation the user may type in his/her choice on what action to do. Is there a way to make it where if someone were to type "save" or push the "s" key to have the game save or go back to …

Member Avatar for Prabakar
0
120
Member Avatar for Zozel

Hi...I'm Zozel...I am trying to make a program and to use the cleardevice() function to clear screen...but I'm not satisfied of this function...calling it, it flashes the screen...it "blinks" my whole screen.....how could I avoid this flash?...please help!...I appreciate any answer ...:)

Member Avatar for Zozel
0
3K
Member Avatar for kavithabhaskar

I am pretty sure that the VB.NET code is right but I am sure my SQL statements are completely wrong ..can anyone help me figure out my mistakes and as to how the SQL statements need to be framed to get the results correctly from the Access Database ? Thansk, …

Member Avatar for SheSaidImaPregy
0
274
Member Avatar for mengmarc

Pls.,, help me to find the error in ths program... this program should accept white space,so i use string and getline...it doesn't have error detected but it doesn't come up with the desire output. thank you in advance... [code] #include<iostream> #include<string> using namespace std; struct node { string name; node …

Member Avatar for Narue
0
278
Member Avatar for eXceed69

Which framework do you prefer or recomend? CI, cakePHP, Symphony or anything else

Member Avatar for kazaan
0
75
Member Avatar for sasikala123

I need some simple c++ codings for the below program. A book shop maintains the inventory of books that are being sold at the shop the list includes details such as author, title and publisher and stock position. Whenever a customer wants the book, the sales person inputs the title …

Member Avatar for Sky Diploma
0
136
Member Avatar for Suneetha Reddy

I have stored date of birth of my users into my database.. I want to calculate their age according to the database dob field... Please help me.. Thanks..

Member Avatar for nav33n
0
165
Member Avatar for Auzzie

Right i'm currently writing up an outline for a web based RPG (yes i know it has been done over and over). And i was wondering what people would suggest that a good starting point (code wise) would be and what they feel/know to be the hardest parts of RPG …

Member Avatar for Auzzie
0
153
Member Avatar for Black Magic

Hey, I decided to make a little visit to [URL="http://winprog.org/tutorial"]Winprog[/URL] and decided to go on the page "Menus and Icons" and so i copied and pasted the code from the website to give me.. [CODE=C++]#include "resource.h" IDR_MYMENU MENU BEGIN POPUP "&File" BEGIN MENUITEM "E&xit", ID_FILE_EXIT END POPUP "&Stuff" BEGIN MENUITEM …

Member Avatar for mitrmkar
0
168
Member Avatar for WhYuLoOkIn

I am using asp.net 3.5 and a sql server database. My host is godaddy. I was able to login before I deployed my website but now I am just getting the failure text of the login control. Can someone please help me?

Member Avatar for senol01
0
155
Member Avatar for ditty
Member Avatar for kavithabhaskar

hi: I have a problem filling my combo box from my Access Database values.. Can you please help me with this ? Thanks, Kukki. Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Using con As New OleDbConnection("provider=microsoft.jet.oledb.4.0;data source=C:\Documents and Settings\bashkark\Desktop\Copy of USERS.mdb") con.Open() Dim objcmd As …

Member Avatar for warun
0
130
Member Avatar for l2u

Hello I've been wondering what would be the best way to manipulate with my application - server (send commands, etc.). I've come accross SSH but this would take too much work to implement it and I dont want to use openSSH - 3rd part source code which is compilable only …

Member Avatar for l2u
0
191
Member Avatar for KJBB

When an Access database is being updated and an apostrophy ' is embedded in a user input string, (txtArray[0].Text here), the query fails. I am using OLEDB. I am hoping I do not have to parse each user input searching for single quotes and probably other naughties like ". I …

Member Avatar for KJBB
0
119
Member Avatar for Rakesh Nagekar

hi friends , Can u please help me, I require change status code to my manage categories please help me Rakesh Nagekar

Member Avatar for Shanti C
0
115

The End.