132,726 Archived Topics
Remove Filter ![]() | |
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 | |
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++ | |
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 | |
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. … | |
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 | |
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 | |
I just want to ask.. How could I make the input (password) invisible? Software Development c | |
[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 | |
hi good morning! I want to know if vb .net form can be also loaded into browser.And how it will done? | |
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 | |
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 | |
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 | |
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") … | |
using java? how i'm going to get the data in notepad. in short of file streaming? Software Development java | |
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 | |
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 | |
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 | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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# | |
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 | |
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 | |
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 … | |
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 | |
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 | |
[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 | |
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 … | |
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 | |
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 | |
#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 … | |
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 | |
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, … | |
[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 | |
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 … | |
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 | |
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++ | |
[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 | |
[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++ | |
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++ | |
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++ | |
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* … |
The End.