199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for cam9856

I was wondering if it is possible to have people create accounts with passwords and be able to login in to them within a C++ console app without using SQL. Like winsock or something.

Member Avatar for cam875
0
91
Member Avatar for sweety0

Hello!! I wanted to know that does anybody can provide me the source code of : how to find the shortest path between different countries.? I m sending u my code its in Visual C++ 6.0 I m doing it with adjacency list. done with adjaceny list but dont know …

Member Avatar for Jishnu
0
416
Member Avatar for wellibedamned

Hmm, i kinda aint in the mood to dig the net about this, so i guessed i'd post my question here.. I'm not so familiar with the time library...is there a nice easy way to drop some code into the loops to check which one is slowing down the program? …

Member Avatar for phalaris_trip
0
104
Member Avatar for darlineth

Hi to all. i am darryl Nuyda from a native country philippines, i'm here your site to participate and need your help. I'm a sophomore student of information technology. am here in your site, to need a help for my Java application using J FRAME . I'm a newbies, this …

Member Avatar for VernonDozier
0
146
Member Avatar for margierose

I'm new to this site and to C++ in general I was looking for some way to do the following: Write a program that allows numbers to be [B]entered[/B] in decimal, hexadecimal, or binary, and then [B]prints out[/B] the number again in all three bases. Any help on this program …

Member Avatar for William Hemsworth
0
160
Member Avatar for bhoot_jb

in my project, i need to take some details like company name, contact no. and address during the installation of the project itself. but i dont know how to accomplish that..please guide me. :|

Member Avatar for Jishnu
0
273
Member Avatar for senthilvnr08
Member Avatar for Aamit

I want to store my file data in array?? List.txt contains Xyz Abc Lmn Pqr Hij Klm [code] #include <stdio.h> #include<conio.h> int main() { FILE * pFile; char mystring [100]; pFile = fopen ("c:\\List.txt" , "r"); if (pFile == NULL) perror ("Error opening file"); else { while(!feof(pFile)) { fgets (mystring …

Member Avatar for Alex_
0
1K
Member Avatar for gh0sst

Hello! I've used the code in [URL="http://www.daniweb.com/code/snippet173.html#comments"]this[/URL] thred to generate an image on the Console. It works fine but the problem is that I don't know how to clear the screen in dev-cpp. I've imported some libraries (conio & winbgim) from [URL="http://www14.brinkster.com/aditsu/console/"]this[/URL] site and clrscr() works but it only deletes …

Member Avatar for mitrmkar
0
410
Member Avatar for hassanalvi1989

Man i want to develope an unbeatable tic-tac-toe game with two player option.. Please help me... my presentations are in the first week of december!!!

Member Avatar for Nick Evan
0
143
Member Avatar for SteveDB

Hi all. I am seeking to learn how to link my drag/drop GUI's to the code I wrote for a program from some 9 years ago. I.e., I have Borland, and MS's Visual Studio 6. I used both-- at different times-- to create a program, and was able to use …

Member Avatar for Necrolis
0
691
Member Avatar for manavsm

PLZ HELP ME WITH THIS CODE...I HAVE GIVEN THIS CODE SO MANY TIMES BUT NOBODY IS ABLE TO CLEAR MY ERROR.... 1.DISPLAY IS NOT COMING ONLY LAST VALUE I ENTER IS DISPLAYED 2.DELETION OPETATION .............AND YES I WANT TO USE LINKED LIST....IF ANY 1 KNOWS IT TELL ME............. [ICODE] #include<stdio.h> …

Member Avatar for Luckychap
0
148
Member Avatar for zyaday

Hello, i'm using a Jpanel, I am using an image as background . On top of that i want to put buttons on it. The problem is I cannot repostion the buttons? can anyone help me here!!??

Member Avatar for zyaday
0
108
Member Avatar for dr_kac

Hello everybody! As I thought I became more comfortable with data structure I've got the problem I can't solve. It looks so: I have that kind of text file: ABCD vvvv 1e-12 ABCD hhhh 1e-6 ABCD ggggg 1e-3 ASDE ffffff 1e-57 ASDE dddd 0.001 etc. I would like to read …

Member Avatar for paddy3118
0
191
Member Avatar for Aamit

Here is my file text file data Tree Bush Apple Mango Animal Dog Animal2 Cat [code] #include <stdio.h> #include<conio.h> #include<string> #include<iostream> #include<fstream> using namespace std; int main() { FILE * pFile; char mystring [100]; char mystring2[100]; char ch; int i=0,j=0; pFile = fopen ("c:\\List.txt" , "r"); if (pFile == NULL) …

Member Avatar for mitrmkar
0
110
Member Avatar for psathish2

this page edit page which record user want to edit that field come to the two box.. this is my coding but error is coming Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource <?php $jtitle=$_GET['jtitle']; $desc=$_GET['jdesc']; $hostname="localhost"; $username="cdf"; $password="dfdf"; $dbid="cdsemplo_job"; $link=mysql_connect($hostname,$username,$password); mysql_select_db($dbid) or die("not connected"); $result=mysql_query("select * …

Member Avatar for nav33n
0
82
Member Avatar for arunagar

We have 2 JSPs A.jsp ==> Main screen JSP tabs.jsp ==> The jsp, which has the header and have several tabs JSP 'A' "includes" JSP 'tabs' Now I want that when page 'A.jsp' loads, it should make some check and set a Flag. This Flag should pass to JSP 'tab.jsp', …

Member Avatar for arunagar
0
130
Member Avatar for hemendra.jadaun

can anybody solve this problem.. Linking... gdtopng.obj : error LNK2001: unresolved external symbol __imp__gdImageDestroy@4 gdtopng.obj : error LNK2001: unresolved external symbol __imp__gdImageCreateFromGd@4 Debug/gdtopng.exe : fatal error LNK1120: 2 unresolved externals Error executing link.exe. gdtopng.exe - 3 error(s), 0 warning(s)

Member Avatar for mitrmkar
0
50
Member Avatar for prabhatrahul

hi, I have one problem regarding retriving data from database. I have created one database in userrecord and its table name is tbl_user. I am trying to display the user information when thy logged in the syste. i.e view logged user profile. The code is as follow: <?php include("auth_user.inc.php"); // …

Member Avatar for nav33n
0
110
Member Avatar for darkis

hello there, i was hoping someone could help me figure out why my program isn't compiling. Its a polynomial math program i put together...and with my function "MathPoly" //'d out it compiles just fine....It continually tells me that variables are undeclared and the compiler is crapping out on line 51 …

Member Avatar for stephen84s
0
177
Member Avatar for reyev

Hi everybody! I need to split my path, let's say' "C:\path1\path2\path3\path4" into separate strings... Not sure how to do that, I've tried os.path.split / splitdrive etc. but it always give me just 2 arguments I need to get "C:\path1" from this path string for example, which would be the root …

Member Avatar for reyev
0
139
Member Avatar for hikosj

Hi all, I have a problem with a query in access that I cant seem to figure out. I have a form named frmRecruitment with a subform named sfrmParticipant. At the moment I am using an append query to append records from 'sfrmParticipant' to 'frmIntervention' using a button on a …

Member Avatar for boblarson
0
135
Member Avatar for AceChandra

Hello all! So im taking a C++ class and I'm supposed to make a grade book program that will take in 6 programs grades and 2 test grades, then multiple the average of each by 50% and add them together for a letter grade... So that was the first project …

Member Avatar for darkis
0
85
Member Avatar for cleopatra789

Hi, I m new to jsp and currently i m trying to fix this problem. In my project, we have an enhancement where we are trying to access a changepassword.jsp 1) directly through URL 2)Invoking this jsp after loginhandler.jsp. 1) is for existing users. 2) is for new users. We …

Member Avatar for masijade
0
115
Member Avatar for pranav_jog

If i try to access the [url]http://Amit/dll/default.aspx(Try[/url] to open the file) i get the error mentioned below: The page you are looking for might have been removed, had its name changed, or is temporarily unavailable. HTTP Error 404 - File or directory not found.<BR> Internet Information Services (IIS)

Member Avatar for krik_ar
0
121
Member Avatar for roy--

Hello, I am currently using phplist, which is ok but started acting weird lately, kinda buggy i must say. Please recommend a free php/mysql based mailing list software. and also please recommend a commercial version of which i might consider.. requirements: tracking of opens/clicks/etc.. multi-language support html support I need …

Member Avatar for macneato
0
133
Member Avatar for wandie

I have a created a page to upload images. Can someone please help me. When when I click on browse I would like the picture to go on the server and not change the image name. just to upload the image as it is. please help <?php include('../includes/cms.config.php'); require_once('login.php'); ## …

Member Avatar for nav33n
0
256
Member Avatar for evios

Em, i'd used ASP.NET for 1 month, but recently when i drag a control on .aspx interface, says DropDownList9, and in aspx.vb interface, i try to type DropDownList9, but it keeps saying i did not declare it. How can this happened? Any modification on ASPX interface seems doesnt link to …

Member Avatar for raj416
0
146
Member Avatar for Alex Edwards

The problem resides below - I'm trying to make a directive command that disable one constructor definition, or the other, based on the parameter of T. When I uncomment the block around the if statement, I get this error-- [ICODE]... missing binary operator before token "(" [/ICODE] --but when I …

Member Avatar for Alex Edwards
0
230
Member Avatar for allena
Member Avatar for lahom

hi i have aquestion i really need an answer for it because it frustrated me... [B]look at these two functions:[/B][CODE]void CSecondDlg::OnButton1() { //**BROWSE DIALOG 1**// FILE *fp; FILE *file1 = fopen("file1.txt","w"); //Create txt file for saving editbox content int nFileLong; //***********************************************// char strFilter[] = { "CPP Files (*.cpp)|*.cpp|All Files (*.*)|*.*||" …

Member Avatar for Ancient Dragon
0
295
Member Avatar for dlayante

hey guys...please help me with this project, I just need to create a Basic DLL Proxy (Proxy INTEROP DLL) create DLL in C# and use it in Visual Basic 6.0 Please give me codes and step by step instructions in making it... Thank you...You're a big help!!!!

0
244
Member Avatar for psathish2

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' this line error is coming in php code echo "<td align="right"><a href='edit.php'>Edit/&nbsp;</a>&nbsp;<input type="delete" name="delete"></td>";

Member Avatar for nav33n
0
105
Member Avatar for manoj gangula

hai this is manoj. i am doing mca 5th semester and i need to do mini project .iam interested in doing project on c++.can iget suggestions regarding which project will be better to do. thanku

Member Avatar for manoj gangula
0
52
Member Avatar for tirso

Hi to every body, I want to make an application that having a lot of buttons, such as payment, view info, deliquent, reports, edit etc. In vba I already created by creating each button to call an individual form, like payment I made (frmpayment), for view info(frmview), for deliquent (frmdeliquent). …

Member Avatar for tirso
0
118
Member Avatar for govind_kishan

I want 2 convert a C prog. into HEX code. We are using microcontroller IC AT89C52.

Member Avatar for jephthah
0
110
Member Avatar for jesseb07

hello, been googling this for a while and can't come up with anything good, so hopefully this won't be so easy to answer that it makes me look lazy. I'm writing an application for linux (gcc compiler) that calls various system and custom commands from inside my own program, nothing …

Member Avatar for jesseb07
0
157
Member Avatar for Alex Edwards

Does anyone have an website they would recommend to me for learning Regex? I have tried using the Sun's tutorial on Regex as well as the Pattern and Matcher classes that use Regex but I am not quite understanding it. I'd like to use it to return the String values …

Member Avatar for sciwizeh
0
128
Member Avatar for thehype2049

Here is my question Write a command line program titled joinTextFiles.cpp that concatenates the contents of several files into one file. For example, the following command line [B]joinTextFiles chapter1.txt chapter2.txt chapter3.txt book.txt[/B] will create a long file titled book.txt that contains the contents of the files chapter1.txt, chapter2.txt, and chapter3.txt. …

Member Avatar for thehype2049
0
95
Member Avatar for newprogrammer

I am a new programmer but I am devoted to make a game. Can I make a game engine that have [I][U]software rendering and openGL[/U][/I] . With a [I][U]little bit of AI and dynamic lightning[/U][/I] and [I][U]sprites/models[/U][/I]. I am[B] not[/B] asking the ~~~~~ [I][U]like Half life or Quake engine[/U][/I], just …

Member Avatar for camthalion95
0
156
Member Avatar for Paul Tobias

Okay so I'm trying to learn the basics of C++ from a book which is I think, well I know, a few years old. I already came across a couple of problems; Firstly the <iosteam.h> thing, which can technically be rectified by using -wno- deprecated in my djgpp compiler, but …

Member Avatar for Paul Tobias
0
231
Member Avatar for bww

Hi, I have a family database, and I am having trouble displaying a family member that has more than one child. $bw=$_GET["id"]; mysql_pconnect("localhost","user","password"); mysql_select_db("database"); $result = mysql_query("SELECT * FROM Members WHERE id='$id'"); $row = mysql_fetch_array ($result, MYSQL_ASSOC); echo "Member: "; $result2 = mysql_query("SELECT * FROM spouse WHERE mid='$id'"); $row2 = …

Member Avatar for nav33n
0
93
Member Avatar for icorey

Hello. I'm very new at JSP. I'm trying to make a page navigator thing with an include statement like everyone does with PHP. So I have three files. I know it's way too much for something so simple, but I just wanna try things out. I'm using Eclipse and, unfortunately, …

Member Avatar for icorey
0
486
Member Avatar for jessamyryan

I am trying to code a program that will generate six random lotto numbers, and then the two supplementary numbers. And not to generate the same number twice. I'm new to pascal, so I understand if you don't want to create a whole code for me but could you at …

Member Avatar for alvisonhunter
0
1K
Member Avatar for oneohthree

I am trying to construct a 2 way paging with PIC Basic and two types of microcontrollers PIC16LF84A and PIC16F88. I have two parts of my system, a sensor node and a transponder. The sensor node has a 434 MHz transmitter (TLP-434) and a 315 MHz (TLP-315) receiver(RLP-315). The transponder …

Member Avatar for e.demente
0
177
Member Avatar for ulrik04

Hello :) I'm making a (new :P) game in C++, and in the beginning of the file, I'm initializing an array like this [code] int tower_dmg[5][3]; int tower_spd[5][3]; int tower_eff[5][3]; int tower_efc[5][3]; int tower_cst[5][3]; [/code] And later in the program, when loading images and initializing a lot of stuff, i …

Member Avatar for ulrik04
0
132
Member Avatar for kgmganesh

we are developing software for past 16 years. We want to make it systematic development. can any one tel us design samples, flow of sample project

Member Avatar for jwenting
0
52
Member Avatar for mstarmatt

Hi, Im trying to check a value in an .xml file, the value is 'c:\Temp\MyApp.asmx' but may be different each time so i need to be able to check <WebServiceURL> value and return the value in VB6. Any help or simplified code would be appreciated. <?xml version="1.0" standalone="yes"?> <Data> <Ver> …

Member Avatar for mstarmatt
0
94
Member Avatar for ShellB12

Hi. I've searched the daniweb question database, and was not satisfied with solutions I found there. I have a string that looks like this... "100 1.745329252 0.984807753 -0.173648178 -5.67128182" not exactly words, but I want to select say, the third "word" of this string (0.984807753) into a variable. The whitespaces …

Member Avatar for ShellB12
0
110
Member Avatar for Superfat

I know about using ran() to create a random number between x and y, however i am creating a banking program and i am wondering how to randomly generate a 17 digit pin, then store the pin in an outside file, then have the program check the file for the …

Member Avatar for tesuji
0
171

The End.