199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for hmadison1984

Hi, this is my first time here and I have a problem. I am trying to write a C++ program in Unix that gives me the Gregorian calendar with exceptions to leap year. I have all of my algorithms for calculating days, printing out the months, and such. My problem …

Member Avatar for WaltP
0
225
Member Avatar for m610

This must be an old problem whose solution must have been posted many times, but I can't figure out how to phrase it for Google. Anyway, I have a TPanel-like component that has a TLabel-like component on it, and the TLabel thingy fills the whole client area of the TPanel …

Member Avatar for m610
0
120
Member Avatar for lucky_43

hello guys I want to make a c++ program which is designed to receive some elements of a linked list by the user in a (while switch formula) and then the user can delete a specific value that he can designate . my problem is in delval function which delete …

Member Avatar for lucky_43
0
94
Member Avatar for aswin_agarwal

Hello, I have a file say id.dat In this file each line contains only an id number. I have a group of files (say 1.dat, 2.dat, 3.dat,...., 50.dat). There are unspecified number of records in each of them. If any of these records contain any of the id number present …

Member Avatar for thekashyap
0
89
Member Avatar for MKO

:-/I'm getting the following error when I debug this small test programm . I can't find anything wrong with it. Even on MSDN they come up with a two line sample code which generates that fault code. In other words, they have no clue either. I hope that some one …

Member Avatar for Salem
0
128
Member Avatar for pigmalion

Hi everyone, I'd like to create a child class to the date class in the datetime module and, apart from adding some new methods to it, I'd like my child class to be initializable through different argument arrangements. For example, beyond the (year, month, day) initialization arguments of the parent, …

Member Avatar for pigmalion
0
87
Member Avatar for begueradj

Hello, I would love to create in C/C++ an array in which each cell is a pointer on a linked list of integers: can someone tell me how can I implement this ? Thank you very much for your help Begueradj

Member Avatar for begueradj
0
101
Member Avatar for pankaj.garg

Hi, i am trying to develop a tool box for simple graphics...basically i want to give users an option to use a tool box and design basic drawings at run time...the drawings would be like simple network diagrams...some nodes connected to a backbone types... my friends (google, yahoo etc.) have …

Member Avatar for pankaj.garg
0
110
Member Avatar for JayOne

Hope the new year is going well for all. I have a 200 pound (GBP Sterling) budjet for C# books. My C# knowledge is good enough already that I can code apps, but I need more knowledge on doing things like: - HTTP - Databases (MS Access atm ... but …

Member Avatar for ddanbe
0
81
Member Avatar for 4me@u

hi every body, i was working on my Client-server file hosting system and at this level my program can upload file from client to server but it is also expected to download the files previously uploaded. Now i can browse the filenames from the server with the following code, [code] …

Member Avatar for 4me@u
0
110
Member Avatar for Joomla12

I want to be able to click a button in Form1 so that it opens a new window with an about page and maybe some other things. How can I do this?

Member Avatar for Nattynooster
0
239
Member Avatar for prasannakarthik

hi, I have a requirement to include a website in my jsp file,say [url]http://www.abc.com[/url] . But the problem jsp:include does not support any protocols. how to achieve this functionality?? Thanx, lpk

Member Avatar for ~s.o.s~
0
98
Member Avatar for anunitha

Hi, i need a help to do program.i need to read multiple files and need to print out result in to new file.I had stored my datas in mycomputer/programs(G:)/CNV/(inside this i have 4 folder and each folder consits of number of datas...) plz give me perl script to do this

Member Avatar for anunitha
0
82
Member Avatar for msr

Hello, Im using threads in a recent project. I would like to know whats the difference between: pthread_kill() and pthread_cancel() What are the effects of each one? Thank you!

Member Avatar for Vijikumar
0
2K
Member Avatar for kawal.singh

Hello Helper, This is my code. I want to compress the file encrypted and then decrypt the same original file.Can you help ? /* [CODE]#include<iostream.h> #include<conio.h> #include<fstream.h> #include<stdio.h> #define ENCRYPTION_FORMULA (int)Byte+25 #define DECRYPTION_FORMULA (int)Byte-25 int Encrypt(char *FILENAME,char *NEW_FILENAME) { ifstream fin; ofstream fout; char Byte; char NewByte; fin.open(FILENAME,ios::in,ios::binary); fout.open(NEW_FILENAME,ios::out,ios::binary); if(!fin) …

Member Avatar for Rajesh R Subram
0
182
Member Avatar for rahul8590

Well for past few months now i have been doing my research on encryption cipher and i have tested on plane text , its not a problem . If i have to test the fastness of the cipher i got to try it on movie and audio files and check …

Member Avatar for rahul8590
0
760
Member Avatar for new programer

Hello all, what is the difference between [CODE]*grade++ *(grade++) (*grade)++ ++*grade *++grade *(++grade)[/CODE] please with examples... I didn't understand manipulationg pointers very well help asap

Member Avatar for Ancient Dragon
0
79
Member Avatar for Burnout

Hi, I've been revising object orientated programming, and decided to have a look at accessing parts of my code in other files. The problem is, I get error messages such as "Player1" not declared, and I can't figure out how to declare them. For example, in my main.cpp file I …

Member Avatar for pspwxp fan
0
126
Member Avatar for sam023

hello friends.. i have a value in database in this format.. 20091231190903 i want to split in date format in php 2009-12-31 19:09:09:03 how can i do it...? kindly guide me plz..

Member Avatar for Wraithmanilian
0
185
Member Avatar for happyns

Hi one and all, I am using C#.net language in asp.net framework using visual studio 2008. I have one checkbox as input control and two textboxes named textbox1 and textbox2 as asp controls. First the client needs to type something in textbox1 and after that the client needs to check …

Member Avatar for happyns
0
100
Member Avatar for Geek-Master

I have been reading about pointers, which IS confusing. I'm sure there is a purpose, but I don't know why I need them yet. For example [CODE] [COLOR=Red]var1 = 23;[/COLOR] [COLOR=Blue]// assigning 23 to var1[/COLOR] [COLOR=Red]var2 = var1; [/COLOR] [COLOR=Blue]// assigning the value of var1 to var2[/COLOR] [COLOR=Red]var3 = &var1;[/COLOR] …

Member Avatar for new programer
0
490
Member Avatar for muralibobby2015

hello.... i want to do text fadein ,fade out using javascript onload page. actually i want to display text which is in database that text will appear in front end with fadein and fadeout effect. anybody plz help..............

Member Avatar for muralibobby2015
0
158
Member Avatar for Agent Cosmic

How do I start my literal object as a function like you do when you use the new Object method. e.g. var fn = function(){ ...code...} var func = new fn(); I'm trying to achieve this using the literal object method like: var fn ={ key: '' }

Member Avatar for Agent Cosmic
0
71
Member Avatar for vizz

How to create independent search engine like google? Without linking with google how to search images and videos?

Member Avatar for FlashCreations
0
124
Member Avatar for adrinis

Hi, I'm currently trying to learn how to use php gtk2 to work with sqlite in stand alone application. If i try to open it in browser all working. But, its not working when i try to use php gtk and open it in stand alone application. i've already enabled …

Member Avatar for cwarn23
0
206
Member Avatar for whitestream6

I've managed to get PHP to work well with SQL, but date and time-related parts of my site are proving difficult to understand. I've created 3 records with these dates: December 26th (2009) - 2:25pm January 5th, 2010 - 3:00pm January 7th, 2010 - 9:00pm I'm trying to get it …

Member Avatar for darkagn
0
723
Member Avatar for vizz

How to search images from diferent websites and display without storing it. (Problem is how to search and display images like google image search with perticular word entered by user)

Member Avatar for vizz
0
93
Member Avatar for vijayshree21

Hi every one, I m doing some work in fractal image compression, plz tell me how to convert a c code to matlab code

Member Avatar for NicAx64
0
5K
Member Avatar for iru

Gentlefolk, Totally new to the world of C C++, compilers and linkers. I am attempting to compile and build some demonstration application code which access BlueTooth devices. Have all the .C, .H files, also a .lib. Using the LCC c ide-compiler-linker, etc on Windows-32 Compile one module - no errors. …

Member Avatar for iru
0
277
Member Avatar for firefly91

So i've set up user profiles on one of my sites to enable users to add custom colours and change the background. Only thing is the CSS only shows up sometimes on Firefox and in IE it doesn't even appear in the source code :icon_confused: Anyway here's the PHP used …

Member Avatar for FlashCreations
0
148
Member Avatar for fayyaz
Member Avatar for farag

السلام عليكم ورحمة الله وبركاتة Hi All, I have a small problem, I'm making a small application to change the attributes of a word documents so I created a word object and at the end of my code I called the Word._Application.Quit Method, When I run the code on a …

Member Avatar for DdoubleD
0
227
Member Avatar for lisedaton

hi all!!!! im trying to do strcmp to a char in a structure and and char* and im getting a msg error: dereferencing pointer to incomplete type.... can somebody explain me what is that and give me an idea how to resolve it? thanx in advanced!

Member Avatar for Narue
0
133
Member Avatar for daudiam

In undefined cases, anything can happen, the program can crash, or unexpected results be thrown up. What happens is up to the compiler. In unspecified cases, the Standard has deliberately not defined the exact behaviour of a few things so that the compiler is at liberty to do as it …

Member Avatar for Narue
0
169
Member Avatar for shmukle

Hi, I am building a chat bot using C# and I am having problems with my Text Analyzation method. Can someone please take a look at my code and help me figure out what to do to fix it? Thanks [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ChatBot …

Member Avatar for farooqaaa
0
131
Member Avatar for daudiam

[code=c] printf ("%d",EOF);[/code] This gives me -1 [code=c]scanf ("%d",&a);[/code] [code=c]printf ("%d",a) [/code] where a is int (as EOF is an int), this gives me some junk value [code=c]printf ("%d",getch());[/code] This gives me 26 I've always given the input as ctrl+z (that's right, na!) What's the correct value of EOF ?

Member Avatar for Narue
0
141
Member Avatar for dchunt

Say i have this 10,000,000 (10 million) byte file. I want to perform multiplication,addition and few other operation on all those bytes(total of 5). And after it is done say if i want to repeat the addition and other operations on the same file like a loop,then How many such …

Member Avatar for jonsca
0
834
Member Avatar for kilermage

Im trying to make the run.bat file read the .class files from the folder classes/src. But before I didn't package my .java files and the created .class files were found in /classes. But now that I packaged my .java files, the newly created .class files are being read from inside …

Member Avatar for kilermage
0
73
Member Avatar for M40

Hi. This is the first Topic I've posted at (the cool) daniweb site so go easy on me. I want to put the cities of England with all their districts in a database. I can think of the following two ways to do this: 1) [B]cities[/B] ([U]cityID[/U], cityName) [B]districts [/B]([U]districtID[/U], …

Member Avatar for gtdriver94
0
161
Member Avatar for SoulMazer

Hi, I'm trying to add an icon to my Tkinter GUI window and have had no luck. After some searching, I came up with the same piece of code which does not work. Here is a snippet of my code: [code=python]from Tkinter import * root = Tk() root.minsize(290, 700) root.title("My …

Member Avatar for SoulMazer
0
24K
Member Avatar for zeroge

Hi everyone I have the lightbox working properly on the site but actually want it to pop up/open automatically, say after 2 seconds after the page is loaded and without having to trigger it by klicking a href link. I noticed daniweb has exactly the same function here on this …

Member Avatar for JugglerDrummer
0
78
Member Avatar for bords

can you please explain the lines in opening a connection to a database?where will i base the datasource, the initial catalog, uid.....?

Member Avatar for pmatah
0
112
Member Avatar for ryan1987

hi i am creating a webpage with a menu down the left hand side. depending on which link in the menu you click a table on the right of will show the relavent information. the table will show the relavent information from a mysql table based on the link clicked. …

Member Avatar for ryan1987
0
80
Member Avatar for ryan1987

hi i am creating a webpage with a menu down the left hand side. depending on which link in the menu you click a table on the right of will show the relavent information. the table will show the relavent information from a mysql table based on the link clicked. …

Member Avatar for ryan1987
0
75
Member Avatar for yanseung

Hello, Please help me to resize BMP image to bigger and smaller. Actually I'm trying to build PC wallpaer image with some function. And changing wallpaper has no problem but I want to change any image to screen size. Since desktop screen has some infomation section, bmp image should resized …

Member Avatar for Excizted
0
455
Member Avatar for pac-man

Hi guys, I understand the difference is that the params of ctor 2 are declared const with n being passed by reference. However, I don't seem to understand what difference having these params (n and a) declared constant with n being passed by reference makes? I mean, I'd understand the …

Member Avatar for Excizted
0
132
Member Avatar for tqmd1

Dear Experts I developed a simple project. The attachment contains one form and a database. This work fine But I need source codes for NEXT and BACK buttons Please unzip and help

Member Avatar for tqmd1
0
98
Member Avatar for johnyboy82

Hi I am having problems using [B]subprocess.Popen.[/B] Here is a small script I have written [CODE]from subprocess import Popen import os global p def executeProcess(): cmd = "ls -l /home" global p p = Popen(cmd) #os.system (cmd)[/CODE] This works only once in a while. I keep getting the error [CODE]Traceback …

Member Avatar for woooee
0
132
Member Avatar for takeshi

Hi.. I'am asking if you know how to code in back up files in database.. I have my submit button, and i want that if i click it,the process of backuping files will perform..and all the records stored in database will save in other disk.tnx in advance..

Member Avatar for takeshi
0
79
Member Avatar for leegeorg07

Hi, I am trying to make a sublime text plugin that will compile some C code, but it uses python for these plugins. I already have a method of using g++ for single files, but I was wondering if anyone knows how to do it for a make file, here …

Member Avatar for leegeorg07
0
152

The End.