132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Deepali_Jain

I am compiling a VC++ source file in VS2008 licenced edition. Using the following header files: #include <regex> But I am getting the below error while compiling. fatal error C1083: Cannot open include file: 'regex': No such file or directory Please advise what Iam missing here.. :(

Software Development c++ mysql open-source regex
Member Avatar for Ancient Dragon
0
976
Member Avatar for somshridhar

Dear Sir, I am tring to convert integer to string and using string for further find and replace operations. While doing so I am using for loop to for integers and then wants to store all these integers in strings. But I did not succeed. But If I use only …

Software Development c++
Member Avatar for somshridhar
0
321
Member Avatar for vrs1155

friends i am learning visual c++ 6.0.i need to know how to connect the database(oracle).can you tell me how to do??.give me some example.... mfc application connect to oracle database,any example ??? thanking you

Software Development c++ oracle
Member Avatar for Stefano Mtangoo
0
563
Member Avatar for supersuru

hey can any 1 help me out here coz i am new to c++ and have couple of errors Using a program that gets the product of even numbers and sum of odd numbers between 1000 and 100, demonstrate the syntax and implementation of the different types of loops. have …

Software Development c++
Member Avatar for Fbody
0
156
Member Avatar for judithSampathwa

hi, i have a question in C#.net report viewer. i want to create a report which will take a user input and generate a report. what i want is get the month from the user input and get it as a parameter for the sql query go get the result. …

Software Development asp.net c# mssql
Member Avatar for judithSampathwa
0
480
Member Avatar for vin24

Hi everyone..... Is it possible to integrate to my program the windows narrator??? I would like to add it to my program.... For example.... The program was launch and the logon window will show up and then the windows narrator will prompt the user by saying "Please log your account …

Software Development visual-basic
Member Avatar for mb01a
0
203
Member Avatar for bizcat

Hello! I am fairly new to C, and trying to learn to deal with malloc. The objective for the code, is to allocate memory in order to store a string on the heap. Compiler says "Warning: assignment makes integer from pointer without a cast" "Warning: format '%s' expects type 'char …

Software Development c ide objective-c
Member Avatar for gerard4143
0
182
Member Avatar for Ich bin würdig

I just want to ask.. How could I make the input (password) invisible?

Software Development c
Member Avatar for Narue
0
174
Member Avatar for mitchiexlolz

[CODE][TEX] I want to make a manu bar that is same as the menu Bar present in Microsoft office 2007. How is it possible? Thanks for the help!:) [/TEX][/CODE]

Software Development microsoft-office vb.net
Member Avatar for khentz
0
149
Member Avatar for kimjhian

hi good morning! I want to know if vb .net form can be also loaded into browser.And how it will done?

Software Development asp.net vb.net
Member Avatar for Pgmer
0
206
Member Avatar for xxmp

Hello I have to function void lala_a(adktis *p) void lala_k(kdktis *p) These two functions are doing the same things but i want to make one function tha can accept adktis/kdktis something like this void lala(adktis *p); void lala(kdktis *p); Is there a way to do this in c? Thank you …

Software Development c
Member Avatar for xxmp
0
130
Member Avatar for sucram

Hi everyone! I`m new here in daniweb. Our Prof. want us to make a game w/ a menu. I already made the game but my main menu is the problem. how to make a menu that after the game it will ask. Do you want to try again >>> then …

Software Development c
Member Avatar for Narue
0
160
Member Avatar for loveMii

Hello.. I've been trying to create a simple postfix calculator.. Can anyone please tell me how I can input a char in assembly? i tried using char as a data type but i found out that there's no such thing as char in assembly.. Please help me.. thanks!

Software Development assembly
Member Avatar for loveMii
0
6K
Member Avatar for Pwnerz0r

I am trying to create my login system but I have got a problem with reconizing the value from a file. getline(fstream) recognizes it and puts it in a char(reg_confirm), but I can't set a different function for a different value. it should go like this: if (value == "0") …

Software Development c++ ios
Member Avatar for Eagletalon
0
179
Member Avatar for cherrymae.calma

using java? how i'm going to get the data in notepad. in short of file streaming?

Software Development java
Member Avatar for stevanity
0
163
Member Avatar for benjaminhale

Have Two Text Boxes one for "user name" and the other for "password" and also have a MS Access database with three coloums "UserIdNum" which is an auto num, "UserName" and "password" i want it so when i click one button "create user" it adds the data from the two …

Software Development vb.net
Member Avatar for benjaminhale
0
168
Member Avatar for AirWave

Hello everyone, I'm required to print a puzzle which in the form of row*col. And my code can do that except when row and col are the same number. How can I fix that? And another question is, how can I store these values into a 2D array??? Because later …

Software Development puzzle
Member Avatar for Teme64
0
100
Member Avatar for simply2smart

Hello I am using windows vista and the problem is that \r i.e., carriage return does not work properly on my system. When I run my java code, it inserts a new line rather than returning the carriage. Can anyone suggest a solution to this problem?

Software Development java windows-vista
Member Avatar for javaAddict
0
200
Member Avatar for Srcee

I have a listview with two groups. The code is the same for Windows and Wpf applications, but when I show the listview, in Wpf application, there isn't grouping. Here' the code: [code=c] private System.Windows.Forms.ListView listView1; ListViewGroup group1 = listView1.Groups.Add(fur.GetHashCode().ToString(), fur.GetType().ToString() + " - " + fur.Message); //some more code …

Software Development listview
Member Avatar for Srcee
0
109
Member Avatar for supersuru

hey please could you help me out i have a problem with this code the normal cash is taking me to the transfer[CODE]#include <stdio.h> #include <conio.h> void main() { char x,ch1,y,Y; int pin=12345, account=12591,account1, choice; int fcash, famount; //char login[10]=’joeliwain’ int withdraw, deposit, transfer, amount; printf(":--------------------------------------:\n"); printf(": Welcome to ATM …

Software Development c++
Member Avatar for Ancient Dragon
0
571
Member Avatar for prem.teamwork

Hi Everybody, I've created some PPT files & converted it into pps fils. Now what i need is, I've designed a VB form which offers menu for the users displaying list of contents. If, a user clicks on any one list from the menu, that particular pps file must display …

Software Development visual-basic
Member Avatar for Denver Museka
0
629
Member Avatar for kccute

Hellow everyone Could somebody show me some code Searching/Finding record on a Database Access. example when i type in textbox1 the last name and first name all the record will be displayed on datagrid and when no record is found it will generate message that the record dont exist. Plss …

Software Development visual-basic
Member Avatar for kccute
0
167
Member Avatar for Fireprufe15

Okay so I have a program, but when it launches the user has to enter a username and password. This login system is on a different form from the rest of the program. There are two things I would like to implement, but I need some help. This is for …

Software Development pascal
Member Avatar for pritaeas
0
165
Member Avatar for Ehtesham Siddiq

Hi, My application is in VS2008 coded in vb.net.I have a table with three columns FromDate,Todate and Schedule.FromDate and ToDate will have date values whereas Schedule will have a any of these values(weekly,Monthly,Yearly) In my Form i have given some provision to the user to check the records.My requirement is …

Software Development vb.net
Member Avatar for funkiller
0
455
Member Avatar for vijayca

Hi All, I am facing problem with MapViewOfFile. Microsoft function MapViewOfFile() which reads part of file and returns start address of that content. This function needs some other info which is provided by functions like CreateFile, CreateFileMapping etc. UnMapViewOfFile is to close the view. I am using MapViewOfFile() to read …

Software Development c
0
122
Member Avatar for Nikhar

The following is the problem to which I am attempting a solution (in fact I have found the solution, there's a small doubt in a concept):- [quote] Q4) Given a floating point number, write a program to convert it into its lowest irreducible fractional form. Note that the total number …

Software Development c data-structure
Member Avatar for Nikhar
0
236
Member Avatar for J_17

Please help me with this: [CODE]#include<stdio.h> #include<dos.h> main() { int x; for(x=1;x<=50;x++) { gotoxy(x,2); delay(1000); printf("TEXT"); } return 0; }[/CODE] I am planning to run the word "TEXT" in this program to the right side, but it didnt work. WHAT'S WRONG WITH MY CODES?

Software Development c
Member Avatar for D.M.
0
71
Member Avatar for haanjae

hi all, i have the server code and client code, but it cannot communicating with each other. i try to run it in 2 pc but happen error. i do not know what is the problem, please help me. server code: [CODE] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; …

Software Development c c# c++ client-server
Member Avatar for Mitja Bonca
0
2K
Member Avatar for complete

How do I get a dattime format in C# that will look like this: 2011-09-01 00:00:00:000 This works DateTime saveNow = DateTime.Now; string test = String.Format("{0:yyyy-MM-01 00:00:00:000}", saveNow); Now I want to know this. How would I subtract one month from the current month? It T-SQL it would look like …

Software Development c#
Member Avatar for Mitja Bonca
0
239
Member Avatar for Shizuo

how do I code the query for getting data from table where datadate = valueofdatepicker or < 15 days something like SELECT * FROM EMPLOYEE WHERE Hireddate BETWEEN ( @date and @date-15days) <---how do I subtract the 15 days?

Software Development
Member Avatar for Mitja Bonca
0
104
Member Avatar for TrustyTony

The [URL="http://pypy.org/"]PyPy [/URL]development team has announced the release of version 1.6 of its "very compliant" Python interpreter with integrated tracing just-in-time (JIT) compiler. According to the developers, the latest update fully implements Python 2.7.1 and brings speed and stability improvements. Code-named "kickass panda", PyPy 1.6 is said to be between …

Software Development api os-x python windows-api
Member Avatar for dresses623
0
183
Member Avatar for Jazerix

Hey there So, I've been coding C# Windows Forms Applications for quite some time now, and i want to get started with asp.net, however i dont know where to start :(, on microsoft site, there are MVC, Web Pages, Web Forms, and to be honest i just want to get …

Software Development asp asp.net
Member Avatar for Jazerix
0
210
Member Avatar for Darkicon

I'm working on a mass text replacer program because I'm sick of all the 10-day trial ones out there that aren't very good. The entire program is basically finished (All easy stuff), but now I need to code the actual replace/delete stuff, which I'm stuck on because apparently the way …

Software Development vb.net
Member Avatar for crashed
0
252
Member Avatar for jackc121

i have a 2d array that's array[10][10] and a double number. I want to put that number into the 1st line of the array how will i do that? array[0]=number; does not work, is there a simple way of converting it? for instance double number; double list[10][10] number=5.35 i want …

Software Development c
Member Avatar for jackc121
0
172
Member Avatar for srinidelite

[CODE] import javax.swing.JFrame; public class snake extends JFrame { public snake() { add(new Board()); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); setSize(320, 340); setLocationRelativeTo(null); setTitle("Snake"); setResizable(false); setVisible(true); } public static void main(String[] args) { new Snake(); } }[/code] This is Board.java file: [code]import java.awt.Color; import java.awt.Font; import java.awt.FontMetrics; import java.awt.Graphics; import java.awt.Image; import java.awt.Toolkit; import java.awt.event.ActionEvent; …

Software Development apple java java-swing
Member Avatar for srinidelite
0
196
Member Avatar for NetJunkie

Hello Members of DaniWeb, I have run into an issue and need help solving it. I know how to go about adding items to My.Settings and I have already created the Specialized String Collection to My.Settings called List but I am having some trouble getting the items and the subitems …

Software Development listview vb.net
Member Avatar for NetJunkie
0
843
Member Avatar for techlawsam

So Im writing this basic payroll tax program as an assignment , I have everything good this time except for one thing, with the multiple identifiers I have assigned to the data types when I go to write them to the output how do I tell the compiler to write …

Software Development display
Member Avatar for techlawsam
0
197
Member Avatar for themarval

I have created a header file and a main.cpp file in Visual Studio C++. I have the concept down but i'm not sure that my program is written correctly as it is failing with teh following error; error C2447: '{' : missing function header (old-style formal list?) I want to …

Software Development c++ visual-studio
Member Avatar for themarval
0
158
Member Avatar for hopper24

#include <iostream> #include "Invoice.h" using namespace std; int main() { string description; double price; int quantity; cout << "Enter the description: "; getline(cin, description); cout << "Enter the unit price: "; cin >> price; cout << "Enter the quantity: "; cin >> quantity; cout << endl;//a new line //create an …

Software Development c++ oop
Member Avatar for hopper24
0
206
Member Avatar for J_17

I got this program below, but the fgets function did not work... What's wrong with this? [CODE]#include<stdio.h> main() { char name[30]; FILE *fp; fp=fopen("c:\\file.txt","a+"); printf("enter name:"); fgets(name,50,fp); return 0; }[/CODE]

Software Development c
Member Avatar for gerard4143
0
92
Member Avatar for javaNooblet

Hi All, I was having trouble with getting my program to display all the necessary conversions. Here is a snippet of the code to help explain what I want to do: [CODE] private class CalcListener implements ActionListener{ public void actionPerformed(ActionEvent e){ String centInput, inchInput, meterInput, yardInput; double cent, inch, meter, …

Software Development display java
Member Avatar for NormR1
0
4K
Member Avatar for aldeene

[CODE] Public Structure TMProduct <VBFixedString(25)> Public productline As String <VBFixedString(25)> Public hinban As String <VBFixedString(25)> Public shortcode As String <VBFixedString(25)> Public fusible As String Public nutcount As Integer <VBFixedArray(11)> Public nuts() As Integer <VBFixedString(512), VBFixedArray(11)> Public tips() As String End Structure [/CODE] in VB6 the length of this structure is …

Software Development vb.net
Member Avatar for aldeene
0
615
Member Avatar for robdb

I've created a list of strings and load a text file in it. once list is created, the program have to read it, do something and write results in a new text file. [CODE] ofstream f; f.open("filename.txt"); string key; list<string> text; static char ALPH[21] = {'A','B','C','D','E','F','G','H','I','L','M','N','O','P','Q','R','S','T','U','V','Z'}; int* index_t = new …

Software Development c c# c++
Member Avatar for raptr_dflo
0
534
Member Avatar for neemo6

Ok im exhausted and just want to go to bed and this has been frustrating me for the last 45 minutes. This method needs to include a check for a 10 digit number from the acctNum and then parseInt but im just brain locked as to where to even put …

Software Development java
Member Avatar for Taywin
0
127
Member Avatar for Zssffssz

Ok how would I make a program take one file (thats not a text file) and save with a different name like there is a file with asdf.7z and I want the program to save a copy of it as qwer.7z how? And is there any way to do something …

Software Development c++
Member Avatar for raptr_dflo
0
154
Member Avatar for FoxSpirit

[COLOR="PINK"]Hai guys, How can I make my application to extract files inside .rar/zip archive in application.startupPath directory!? ty:*[/COLOR]

Software Development vb.net
Member Avatar for iampord
0
385
Member Avatar for trantran

[CODE] struct S{ int i; double d; S(const S & incoming_S):i(S.i),d(S.d){} }; void test(){ S myS=S( /*temporary variable*/ S(23,3.14) ); } [/CODE] Questions: 1) During initialisation, is the temporary variable S(23,3.14) actually created or can it (and is it actually for typical compilers such as VS2008) optimised away? 2) Same …

Software Development c++
Member Avatar for trantran
0
177
Member Avatar for ryandunn

I am trying to get the number of months on one side to pay a car loan off and then the other side to have a decrease in the money owned. I have been staring at this thing for about 2 hours and i dont understand why it won't subtract …

Software Development c++
Member Avatar for Zvjezdan23
0
108
Member Avatar for Zssffssz

Well how would I do it? Make something like winrar but alot less compresstion ratio and in a cui? PS sorry for not answering many questions alot of this stuff is in a different side of c++ I dontnormaly use?

Software Development c++
Member Avatar for Zssffssz
0
86
Member Avatar for dgreene1210

This is my header file i want to use [CODE]#include <stdio.h> #define my #define LABOR_COST 0.35 #define TAX_RATE .085 void read_data(int* length, int* width, int* customerdiscount, double* costpersquarefoot); void calculate_values(int length, int width, int customerdiscount, double costpersquarefoot, int* area, double* carpetcharge, double* laborcharge, double* installedpricecharge, double* discountcharge, double* subtotalcharge, double* …

Software Development c seo
Member Avatar for gerard4143
0
171

The End.