199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
Hello friends, Im new to ASP, so can any one tell me where to write and run ASP codings?? | |
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 | |
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 … | |
![]() | 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. … |
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> … | |
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.:-/ | |
[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 … ![]() | |
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 … | |
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 … | |
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 … | |
Is there a command that hides the dos window while the program executes?? | |
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 … | |
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 … | |
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") … | |
Hello Friends, How to create Blogs in PHP can u please tell the websites and helping code for blogs Thanks in Advance Rakesh Nagekar | |
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 … | |
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. | |
hi i wanna start programing with python just wondering if any one knew any sites which has python source code? would appreciate any help :) | |
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] … | |
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 … | |
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 … | |
[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) … | |
[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 … | |
are there any good (comprehensive) tutorials that anyone knows of for the SAX parser? i cannot find a good one | |
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 … | |
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 … | |
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 … | |
i need a C program which will do the above task... | |
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 … | |
![]() | 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? |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 ...:) | |
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, … | |
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 … | |
Which framework do you prefer or recomend? CI, cakePHP, Symphony or anything else | |
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 … | |
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.. | |
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 … | |
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 … | |
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? | |
Can anybody help me to send attatchment with mail...Pls help me...Very urgent... | |
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 … | |
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 … | |
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 … | |
hi friends , Can u please help me, I require change status code to my manage categories please help me Rakesh Nagekar |
The End.