132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Jjajangmyeon

I'm trying to run a program with command line arguments. I keep getting the following error: This application has failed to start because libgcc_s_dw2-1-.dll was not found. Re-Installing the applicatiob may fix this problem. I have no clue what to do with this. The code works on the school computers …

Software Development c++
Member Avatar for Jjajangmyeon
0
271
Member Avatar for Pazuzu156

I'm sure this question has been asked before, but I'm at a loss here. I've been attempting to get a piece of C++ code to work. It works perfectly on Windows AND Linux (Multiple distros tested on) however Mac is proving a pain. I'm executing a Jar from C++, and …

Software Development c++
Member Avatar for Pazuzu156
0
191
Member Avatar for Joemeister

Hey all, I was wondering about this piece of code on how to make it simpler to find the needle in the haystack for example "abbaabbaabb", "abba" - the needle, "abba" is found 2 times in the haystack "abbaabbaabb". I have this code: unsigned int substringCount(const std::string& strng, const std::string& …

Software Development c++
Member Avatar for Joemeister
0
2K
Member Avatar for flebber

I am doing ex4 from the fundamentals of C#. But I cannot solve the problem. I am unable to slice the array correctly and instead just endup with System.int32[] Simply all I am supposed to do is find the maxmimal sequence of equal consecutive elements. I am trying to follow …

Software Development asp.net
Member Avatar for ddanbe
0
280
Member Avatar for yaya1234

We received a project to make calculator in assemly I want to check the result of the numbers actually in the range. that I don't have pverflow or undeflow. But it does not work .. Can you let me know where the problem so I could fix? here is my …

Software Development assembly
Member Avatar for yaya1234
0
147
Member Avatar for MrJUBU

need help for my assignment im a IT student.

Software Development c++
Member Avatar for MrJUBU
0
99
Member Avatar for VBrulez

OK, so I'm making this advanced web browser for myself that can do favorites. I'm using a combo box as an alternate text box, thinking this should do. But then, I ask myself, what code so I can open a new form, type a title, and put the url, so …

Software Development vb.net web-browser
Member Avatar for gizidda
0
674
Member Avatar for AnooooPower

is there a way to get info from a youtube video link such as i want to get the title, description, video duration, thumbnail link, and videoid ie.: v=**gJ_3BN0m7S8** just the bold part from a link and yeah without the use of an webbrowser since they seem to be really …

Software Development vb.net
Member Avatar for AnooooPower
0
704
Member Avatar for jtjudge

#include <p18F8680.h> #include <delays.h> #include <string.h> #include <stdio.h> #include "LCD_Utilities.h" int* lpc_L1; unsigned int ln_Volts; unsigned int ln_Tenths; unsigned char luc_Result; char Convert_ADCResult_to_Char(unsigned char, unsigned char); void main (void) { TRISA = 0x01; TRISD = 0x00; ADCON0 = 0x01; // ch0, DONE, ADC on ADCON1 = 0x0E; // AN0 set …

Software Development c ide
Member Avatar for sepp2k
0
554
Member Avatar for markdean1989

here is my code, it is very simple Me.Validate() Me.TableBindingSource.EndEdit() Me.TableTableAdapter.Update(Me.Database1DataSet.Table) MsgBox("Update successful!", MsgBoxStyle.OkOnly, "") Me.TableTableAdapter.Fill(Me.Database1DataSet.Table) Actually, I have been programming for a year or two three years ago but I stopped after my laptop was stolen and due to work. But now I I have a new laptop, and …

Software Development vb.net
Member Avatar for markdean1989
0
151
Member Avatar for MasterHacker110

I have a small program that queries a database and retrieve some information about employees. The only problem I have is that when I search for the employee my program never finds any employee after the first employee. Here is my code: private void buttonSearch_Click(object sender, EventArgs e) { string …

Software Development open-source
Member Avatar for hericles
0
198
Member Avatar for YiLiang

Hi Guys, I'm a beginner. Can i ask, how to write the code for delete or backspac in a password if i key in a wrongly? Example: Password is 123456 But I accidentally keyed 124, so how do i delete/backspace 4 so i can key in 123456 again.

Software Development c c# c++
Member Avatar for rubberman
0
189
Member Avatar for jared.geli

Hi guys I have this problem where a certain cell will select a value from a table based on another cell (like an id or something). First I select some values to be put in Datagrid (a typical OleDBCommand) then add some more columns using Datagridview.Columns.Add. Here's the scenario I …

Software Development dataset vb.net
Member Avatar for jared.geli
0
1K
Member Avatar for wakesin

hey there Daniweb. So I am in need of some help with a project I have. We need to create a program that will print out rows of asterisks as tall as defined by the user. [CODE]For example, if the user entered, 1 2 3 4 3 2 1 10 …

Software Development c++
Member Avatar for Rock426
0
6K
Member Avatar for iConqueror

**Please note that I am not asking for an answer to the exercise just abit more explanation** I have this question that I do not understand. Using a class to wrap simple stream input (InputWrapper.cs) modify following program to calculate area of a triangle given base and height using System; …

Software Development
Member Avatar for iConqueror
0
146
Member Avatar for mohan raj91

I want to print the string. In my code i am not getting the right string. line="\\python\001tag\file.txt" str=re.search(r"\[(0-9)+]",line) (dont use raw_string here) print str.group() This gives nothing. I want to extract 001 from there. Note: I dont want to use rawstring.because here user is getting the path from other resource. …

Software Development python
Member Avatar for Gribouillis
0
460
Member Avatar for sankubha

Now am working with java application . I have to connect server and client through No-Ip Duc host.Is it possible or not??? Server side code: ServerSocket ss=new ServerSocket(5223); System.out.println("Waiting for client"); Socket soc=ss.accept(); System.out.println("Connected"); client side code: Socket soc=new Socket("rmcsnoiptest.ddns.net", 5223); This is what i tried.

Software Development java socket-programming
Member Avatar for JamesCherrill
0
364
Member Avatar for mkhan.haqpalkhan

i have two tables in access and i want to update datagridview which is made from joining of these two tables, how update this datagridview in vb.net

Software Development vb.net
Member Avatar for jared.geli
0
160
Member Avatar for aluhnev

The containers SET/VECTOR/LIST/MAP are very similar in use,so how to choose which one to use? Is where any special cases? Thanks

Software Development c++
Member Avatar for mike_2000_17
0
278
Member Avatar for covert

after compiling,when i run program my 'FTN 95\PLATO' recently showing me black DOS box,only reading "PREES 'RETURN' to cotinue" without executing the program. could u say why is this happening ?

Software Development c++
Member Avatar for Schol-R-LEA
0
148
Member Avatar for Varunkrishna

I am using PrintWriter to write the input from the standard input to a file, here I am trying to create an ascii table in the text file, but there is no proper alignment of the table in the text file. Here is my code guys. package code.practise.MyIdeas; import java.io.FileNotFoundException; …

Software Development file-system java
Member Avatar for Taywin
0
260
Member Avatar for Lloyd_3

kindly help me in making program in the permutaion of 1,2,3,4,5. Permutation means the arrangements of the numbers 1,2,3,4,5. ex. 1,2,3,5,4 1,2,4,5,3 and so on.. there are 120 results.

Software Development c++
Member Avatar for iamthwee
0
504
Member Avatar for aluhnev

//Hi,can someone explain what is the difference of declaring the main in C++/C++11 //What is most common may to use or it's metter of personal choice? int main() { return 0; } /////////////////// int _tmain(int argc, _TCHAR* argv[]) { return 0; } /////////////////// int main( int argc, char ** argv …

Software Development c++
Member Avatar for NathanOliver
0
353
Member Avatar for nhrnjic6

So I've built a Queue data sructure(all the needed methods) and I just wanted to know how can I use my Queue objects in different project ?

Software Development c++ queue
Member Avatar for Schol-R-LEA
0
236
Member Avatar for Slavi

Not sure how to explain what is going on but after some time scene builder just won't display the fxml file that I am trying to modify further. It happened a couple of times so far and its really annoying because nothing can be changed. Yes, I do see scene …

Software Development java
Member Avatar for Slavi
0
98
Member Avatar for cd88

Hi, I am stuck trying to reuse the calendar or the date time class in visual basic I can not find a way to reset the former settings. Is it just me or is there a way to accomplish this task. Any help would be appreciated. I feel it is …

Software Development vb.net visual-basic
Member Avatar for cd88
0
393
Member Avatar for Schol-R-LEA

**note:** This was also posted to the [comp.lang.scheme](https://groups.google.com/forum/#!forum/comp.lang.scheme) earlier today. I normally wouldn't cross-post, but after I noticed the extremely low traffic on the newsgroup, I decided to try a more active, if less specialized, forum. As part of a larger project, I am writing a macro that defines a …

Software Development
Member Avatar for Schol-R-LEA
0
320
Member Avatar for aluhnev

#include<utility> #include<tuple> #include "stdafx.h" #include<string> using namespace std; int _tmain(int argc, _TCHAR* argv[]) { pair<int, string>p(42, "forty-two"); cout << p.first << " " << p.second << endl; p = make_pair<int,string>(112,"one-one-two") ; cout << p.first << " " << p.second << endl; return 0; } // Can some one help to …

Software Development c++ visual-studio
Member Avatar for aluhnev
0
232
Member Avatar for toring

Hi, I need some help please i could not show the balls,when my pacman is moving,i want my pacman will through balls when it's moving.but i could not show his balls,can you please help me what is wrong or missing in my code. I appreciate someone can help me import …

Software Development java java-swing
Member Avatar for JamesCherrill
0
232
Member Avatar for Mahkoe

I am currently writing a little applet to modify files in a certain way. However, I am noticing wildly strange behaviour. I have an output file that is fopen'd in "a+" mode. If the file did not exist and was created, the resulting output is total garbage (however, it exhibits …

Software Development c
Member Avatar for rubberman
0
142
Member Avatar for _echelon

Hi DaniWeb, I've been programming a litecoin clone for about two weeks now. I came to build the daemon to acquire a merkle hash, but It give me this error. Error: To use vizcoin, you must set a rpcpassword in the configuration file: /home/crypto/.vizcoin/vizcoin.conf It is recommended you use the …

Software Development c++ file-system
Member Avatar for David W
0
191
Member Avatar for TommyTee

Hi guys, I have a class called Account with variables called Balance and Status. The Member Name is given by the User through cin and represents an the Account Number. How can I diynamically create an object through cin and give their variables a value through cin? I have been …

Software Development c c# c++
Member Avatar for David W
0
2K
Member Avatar for supun.lakshan

I want to do some action with the help of multiple key pressed in vb.net even program is minimized. I've read the only way of detecting global keys is using a timer. So can someone **please** tell me how to do it? With multiple keys. (eg: ALT+A)

Software Development vb.net
Member Avatar for Reverend Jim
0
888
Member Avatar for nathan.pavlovsky

Hello programmers! I am working on a program that checks if a user's input is a palindrome (in this case, the input is a string). I am using a custom class template "stack", that is a constrained version of my custom class "List", which is a linked list class template. …

Software Development algorithm c++ linked-list
Member Avatar for nathan.pavlovsky
0
418
Member Avatar for SoreComet

Can string be compared with == operator? I know that they can be compared using strcmp() function. But this snippet confused me a lot #include <stdio.h> #include <stdlib.h> int main() { char str1[]="Good Morning"; char str2[]="Good Morning"; if(str1 == str2) printf("Equal"); else printf("Not Equal"); return 0; } The output of …

Software Development c
Member Avatar for SoreComet
0
123
Member Avatar for cambalinho

i'm creating the form class. the form us showed and the window procedure works. the problem is that some messages(like WM_CREATE) aren't working. so how can i connect, correctly the form to window procedure?

Software Development c++
Member Avatar for cambalinho
0
616
Member Avatar for cambalinho

i'm build a function for do the combination of keys(like the kombat games: we do some combination keys for do an actions): bool CombineKeys(std::vector<int> const keys) { static bool PreviousKeyPressed; static DWORD StartTimer = GetTickCount(); static int i=0; if((GetAsyncKeyState(keys[0]) & 0x8000) and PreviousKeyPressed==false) { i=0; SetWindowText(a,"hello"); PreviousKeyPressed=true; i++; } else …

Software Development c c# c++
Member Avatar for cambalinho
0
235
Member Avatar for Saranya_2

Hi Dani I am trying to develop a case study in c languade for addressbook.Is glade a turbo c accepted GUI. If so how can I link c program functions, xml etc with glade.I have no idea.Please reply as soon as possible. Thanks Saranya

Software Development c gui
Member Avatar for rubberman
0
115
Member Avatar for Varunkrishna

Hi all Here is my snippet for(int i = 1;;i++){ System.out.println("Please enter the name:"); name = input.nextLine(); System.out.println("Please enter the email:"); email = input.nextLine(); if(!email.matches(EMAIL_PATTERN)){ System.out.println("Please enter a valid email.\nThe details are not saved please start from the beginning."); i--; // break; continue; } else { printwriter.println("|"+i+")\t|"+name+"\t|"+email+"\t|"); printwriter.println("+-----\t+-----\t+-----\t+"); } if(i>=1){ …

Software Development java
Member Avatar for Varunkrishna
0
121
Member Avatar for lrh9

There is a security technique known as code signing. It basically generates a certificate for your code. This certificate first certifies the author of the code. Second, it has a value generated from the code. This value is unique to that code. If any changes are made to the code, …

Software Development python
Member Avatar for jamercee
0
6K
Member Avatar for Yahia Farghaly

Hi,can anyone help me how to start programming With MFC C++ ? and what's the best learning source for it? and is it good to learn that ? i am have some good experience with c++ and i am looking forward to design some gui programs ,i know that there …

Software Development c++ gui qt
Member Avatar for Moschops
0
746
Member Avatar for sumaya_ak

import javax.swing.JFrame; import java.awt.BorderLayout; import java.awt.GridLayout; import java.awt.FlowLayout; import javax.swing.JPanel; import javax.swing.JLabel; import javax.swing.JButton; import javax.swing.JTextField; import javax.swing.JTextArea; import java.awt.event.*; import java.awt.Color; import java.awt.Font; import javax.swing.border.Border; import javax.swing.border.TitledBorder; import javax.swing.JToolTip; import javax.swing.JTextArea; / public class Swing extends JFrame implements ActionListener import javax.swing.JFrame; import java.awt.BorderLayout; import java.awt.GridLayout; import java.awt.FlowLayout; import javax.swing.JPanel; …

Software Development java java-swing
Member Avatar for stultuske
0
173
Member Avatar for vishal anand.s

Hi my name is vishal for past 6 days i have been breaking my head on how to get id(user_id or manager_id) of currently logged in user in my application in c# windows forms with sql server 2008. So i have a application named:Mini Project which has a login form …

Software Development c# data-structure open-source
Member Avatar for vishal anand.s
0
404
Member Avatar for Needhelp2

Hi all, I have a large txt file (3 Million lines). Like to use python , to parse the file , so it can be managed by excel. I am very new with Programming and python, like to learn it. Thanks for your support... input file format: .. ... ... …

Software Development python
Member Avatar for Needhelp2
0
3K
Member Avatar for abaddon2031

I have a python code that reads a specific folder for specific files. Once it finds a file that matches the re.split peramiters that it is given it then writes the data to a csv file. The issue is that for every file that it loops through and writes it …

Software Development file-system printer python
Member Avatar for abaddon2031
0
2K
Member Avatar for acurit1

I am trying to add new data to my mysql database using tkinter in python. Does anyone have any best practices for doing this? I have tried thus far to no avail. thanks in advance for any help.

Software Development mysql python tkinter
Member Avatar for Hiroshe
0
1K
Member Avatar for new_developer

Hi there, I am having problem with deallocating string two-dimensional dynamic array. My program works fine but for some conditions such as when row size is greator than column size in 2d dynamic array, the program crashes when it goes into destructor. My program is as follows : #include <iostream> …

Software Development c++
Member Avatar for new_developer
0
254
Member Avatar for Slavi

I am following [this](http://code.makery.ch/java/javafx-2-tutorial-part1/) tutorial to get into JavaFX using scene builder and so far I really like it as the person who made it explains things in deep detail. I finished the first part and tried executing the code so far, but it returns multiple errors. Here is more …

Software Development java
Member Avatar for Slavi
0
2K
Member Avatar for westsiderailway

hi everyone, I am a newbee when dealing with databases.... so far i have a sql database in my sql server(local). Have open a project in vs2010express and have connected it to my DB. on my form i have the datagridview populated with my database, have buttons that can add …

Software Development display vb.net
Member Avatar for westsiderailway
0
245
Member Avatar for MARKAND911

Following is the code which sends single embedded image very fine from Outlook using c# public void sendEMailThroughOUTLOOK() { try { Outlook.Application oApp = new Outlook.Application(); Outlook.MailItem oMsg = (Outlook.MailItem)oApp.CreateItem(Outlook.OlItemType.olMailItem); string imageCid = "image001.jpg@123"; oMsg.HTMLBody = String.Format("<body><img src=\"cid:{0}\"></body>", imageCid); Attachment attachment1 = oMsg.Attachments.Add(@"E:\wallpapers\WRLDMAP.jpg", OlAttachmentType.olEmbeddeditem, null, "img"); attachment1.PropertyAccessor.SetProperty("http://schemas.microsoft.com/mapi/proptag/0x3712001E", imageCid); //Add an …

Software Development c#
Member Avatar for cgeier
0
609

The End.