5,346 Posted Topics
Re: Show us your code. Method operator<< should be, [code] friend ostream &operator<<(ostream &out,const FixedSizeMatrix &ref){ ..... return out; } [/code] | |
Re: Field name [b]password[/b] is a access's reserved word. Use, [code] str="update login set [password]=?" [/code] | |
Re: Have a look at [URL="http://www.codeproject.com/KB/edit/RichTextBoxLinks.aspx"]RichTextBox[/URL] | |
Re: [URL="http://www.cppreference.com/wiki/keywords/dynamic_cast"]dynamic_cast[/URL] [code] void IObserver::Update(ISubject* observSubject){ cout << dynamic_cast<Subject*>(observSubject)->getValue(); } [/code] | |
Re: Why are you embedding excel document as a resource element? Show us your code work. | |
Re: Urgent! There are two ways: 1. [URL="http://www.cplusplus.com/reference/iostream/iostream/"]iostream reference[/URL] 2. [URL="http://www.parashift.com/c++-faq-lite/templates.html"]template reference[/URL] | |
Re: My suggestion and favorite are, [URL="http://www.amazon.com/Effective-Specific-Addison-Wesley-Professional-Computing/dp/0321334876/ref=pd_bxgy_b_img_b"]Effective C++[/URL] [URL="http://www.research.att.com/~bs/3rd.html"]The C++ Programming Language[/URL] [URL="http://www.amazon.com/Modern-Design-Programming-Patterns-Depth/dp/0201704315/ref=pd_bbs_sr_1?ie=UTF8&s=books&qid=1221583840&sr=8-1"]Modern C++ Design[/URL] | |
Re: @yorro : Is it possible for a single SQLString to check if records exist then update or insert? Use [b]Stored-Procedure.[/b] | |
Re: [code] SQL = "UPDATE sampletable SET column1 = 'C1sample1', column2 ='NewValue' WHERE column2 = 'OldValue'" [/code] | |
Re: Use [b]ExecuteNonQuery()[/b] method. [code] private static void AddZenCartItem(Product item){ Log.WriteLine("Im adding "+item.Description+" to the zencart."); String sql; //Now lets put some SQL in that String sql = //BIG LONG SQL STATEMENT //Reopen the connection just incase it closed if (MyConn.State != ConnectionState.Open) MyConnect(); MySqlCommand command = MyConn.CreateCommand(); command.CommandText = sql; … | |
Re: Purchase some good books and learn [URL="http://msdn.microsoft.com/en-us/library/h43ks021(VS.71).aspx"]ADO.NET[/URL]. [QUOTE]SUMMARY: ADO.NET provides consistent access to data sources such as Microsoft SQL Server, as well as data sources exposed through OLE DB and XML. Data-sharing consumer applications can use ADO.NET to connect to these data sources and retrieve, manipulate, and update data.[/QUOTE] | |
Re: Read this article [URL="http://msdn.microsoft.com/en-us/library/kew41ycz(VS.71).aspx"]http://msdn.microsoft.com/en-us/library/kew41ycz(VS.71).aspx[/URL] | |
Re: .NET framework is needed to compile and run VB program. Visual Studio.NET – is integrated development environment (IDE) for coding with .NET framework. | |
Re: Return type of ToCharArray() is [b]cli::array <wchar_t,1>[/b]. [code] String ^x=read->ReadLine(); // String to char array array<Char>^ arr=x->ToCharArray(); // char arr to string String ^str=gcnew String(arr); Console::WriteLine(str); [/code] | |
Re: [code] str="Select count(*) from TableName where Attendance='A'"; str1="Select count(*) from TableName where Attendance='P'"; [/code] | |
Re: Set the height & width of your [b]Form[/b]. | |
Re: You have to use [b]SELECT[/B] sql statement with [B]WHERE[/B] clause. | |
Re: When a one-dimensional array is defined as a formal parameter, the side of the array may be omitted. [code] void test(int args[]) { . . . } [/code] With two-dimensional arrays, the first dimension may be omitted, but not the second dimension. [code] void test(int args[][3]) { . . . … | |
Re: Drop some textboxes, labels, and buttons controls onto the form. Use [b][URL="http://msdn.microsoft.com/en-us/data/aa937699.aspx"]ADO.NET[/URL][/b] class library to work with any database product. | |
Re: Try [URL="http://swfupload.org/"]SWFUpload[/URL]. SWFUpload is a small JavaScript/Flash library to get the best of both worlds. It features the great upload capabilities of Flash and the accessibility and ease of HTML/CSS. OR [URL="http://darrenjohnstone.net/2008/07/15/aspnet-file-upload-module-version-2-beta-1/"]Darren Johnstone's ASP.NET File Upload Module[/URL] | |
Re: Here are some suggestions, 1. Erase the line. 2. Get the new coordinate. 3. Draw a new line. | |
Re: 1. Tools + Options + Projects and Solutions + Build and Run. 2. select "Prompt to launch" from On run, when build or depl. errors occurs. | |
Re: [URL="http://msdn.microsoft.com/en-us/library/9w519wzk.aspx"]App.Config[/URL] - How to: Use an Application Configuration File to Target a .NET Framework Version. [URL="http://msdn.microsoft.com/en-us/magazine/cc163812.aspx"]Remembering User Information in Visual Basic .NET[/URL] | |
Re: I guess, you are looking for [B]Random Access IO[/B]. Take a look at [URL="http://c-faq.com/~scs/cclass/int/sx2i.html"]http://c-faq.com/~scs/cclass/int/sx2i.html[/URL]. | |
Re: Take a look at [URL="http://bytes.com/topic/visual-basic-net/answers/382910-cpu-temperature"]Thread[/URL] | |
Re: Take a look at [URL="http://www.deitel.com/articles/cplusplus_tutorials/20060204/index.html"]http://www.deitel.com/articles/cplusplus_tutorials/20060204/index.html[/URL] [QUOTE]SUMMARY: This tutorial introduces a copy constructor for initializing a new Array object with the contents of an existing Array object. This tutorial is intended for students and professionals who are familiar with basic array, pointer and class concepts in C++. [/QUOTE] | |
Re: Destructor is a very special method of class and it is used to implement object specific cleanup code. Unreferenced objects are released by the [b]Garbage collector[/b]. | |
Re: Read sticky thread - [URL="http://www.daniweb.com/forums/thread70096.html"]http://www.daniweb.com/forums/thread70096.html[/URL] | |
Re: Welcome, Use [b]desc tableName[/b] to list the structure of table and use [b]SELECT * FROM tableName[/b] to list rows. | |
Re: Take a look at function [URL="http://www.cplusplus.com/reference/clibrary/cmath/sqrt/"]sqrt[/URL] | |
Re: Take a look at [URL="http://opensmpp.logica.com/introhtml/menu.htm"]smpp[/URL] | |
Re: Read this article - [URL="http://office.microsoft.com/en-us/help/HA103510211033.aspx"]http://office.microsoft.com/en-us/help/HA103510211033.aspx[/URL] [URL="http://msdn.microsoft.com/en-us/library/fh376txk(VS.71).aspx"]FileOpenDialog/FileSaveDialog [/URL] Bi-directional Support not affected; depends on the language of the operating system | |
Re: Take a look at [URL="http://msdn.microsoft.com/en-us/library/ms227881(VS.80).aspx"]Tutorials and Sample Code[/URL] of Crystal Report. | |
Re: [b]Abstraction[/b] is the process of generalization: taking a concrete implementation and making it applicable to different, albeit somewhat related, types of data. The classical example of abstraction is C's qsort function which sorts data. The thing about [b]qsort[/b] is that it doesn't care about the data it sorts – in … | |
Re: Take a look at [URL="http://www.cplusplus.com/reference/iostream/fstream/"]fstream[/URL]. | |
Re: Welcome to the daniweb. Don't create new threads for the same question - [URL="http://www.daniweb.com/forums/thread226053.html"]http://www.daniweb.com/forums/thread226053.html[/URL]. Read the following rules before you post if any. 1. Show us your code work. 2. Use bb code tags to post source code - Read [URL="http://www.daniweb.com/forums/announcement8-3.html"]announcement[/URL] EDIT: Use [URL="http://www.cplusplus.com/reference/iostream/"]IO Stream[/URL] classes to open a datafile, … | |
Re: Here is a service provider - [URL="http://portforward.com/"]http://portforward.com/[/URL]. You will find some useful details. | |
Re: [code] pictureBox1.Image = Image.FromStream(new MemoryStream(ds.Tables(0).Rows(i)(0)) [/code] | |
Re: To perform database actions, you must have to learn [URL="http://msdn.microsoft.com/en-us/data/aa937699.aspx"]ADO.NET[/URL] class library. | |
Re: Take a look at this article - [URL="http://msdn.microsoft.com/en-us/library/ms813014.aspx"]http://msdn.microsoft.com/en-us/library/ms813014.aspx[/URL] | |
Re: Use [URL="http://dev.mysql.com/doc/refman/5.1/en/date-and-time-functions.html#function_date-add"]Date Time functions[/URL], [code] select * from test where tdate=(current_date() - INTERVAL 3 MONTH); [/code] | |
Re: Take a look at [URL="http://support.microsoft.com/kb/196776"]Office Automation Using Visual C++[/URL] | |
Re: [U]Text from [b][URL="http://en.wikipedia.org/wiki/Header_file"]Wiki[/URL][/b][/U] - A header file commonly [icode]contains forward declarations of classes, subroutines, variables, and other identifiers.[/icode] Programmers who wish to declare standardized identifiers in more than one source file can place such identifiers in a single header file, which other code can then include whenever the header contents … | |
Re: Think about web application. | |
Re: Maybe your code needs, [code] dataGridView1.EditMode = DataGridViewEditMode.EditOnEnter; [/code] | |
Re: @nateuni: I have been reading about memset but my understanding is it will not work for a struct. I think [b]memset[/b] is the way to go. You do not have many alternatives. | |
Re: Have a look at [URL="http://stackoverflow.com/questions/380851/the-c-net-programmers-bookshelf"]http://stackoverflow.com/questions/380851/the-c-net-programmers-bookshelf[/URL]. | |
Re: You may use classes of [URL="http://msdn.microsoft.com/en-us/library/system.net.mail.aspx"]System.Net.Mail[/URL] namespace to send email. | |
Re: Take a look at this thread - Everything you wanted to know about[URL="http://www.daniweb.com/forums/thread210533.html"] undefined behaviour [/URL] (but were afraid to ask). [QUOTE]SUMMARY (posted by salem) : This is a catalogue of some experiments on just two aspects of undefined behaviour. This was inspired by yet another long bout of explanation … |
The End.