5,346 Posted Topics

Member Avatar for Peppercat101

Show us your code. Method operator<< should be, [code] friend ostream &operator<<(ostream &out,const FixedSizeMatrix &ref){ ..... return out; } [/code]

Member Avatar for mrnutty
0
128
Member Avatar for babbu

Field name [b]password[/b] is a access's reserved word. Use, [code] str="update login set [password]=?" [/code]

Member Avatar for TomW
-2
182
Member Avatar for Ishbir

Have a look at [URL="http://www.codeproject.com/KB/edit/RichTextBoxLinks.aspx"]RichTextBox[/URL]

Member Avatar for kvprajapati
-2
146
Member Avatar for Peter_APIIT

[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]

Member Avatar for Peter_APIIT
-1
77
Member Avatar for wallance
Member Avatar for wallance
-1
117
Member Avatar for SilverRayX

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]

Member Avatar for kvprajapati
-1
91
Member Avatar for tkud

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]

Member Avatar for kvprajapati
-2
86
Member Avatar for yorro

@yorro : Is it possible for a single SQLString to check if records exist then update or insert? Use [b]Stored-Procedure.[/b]

Member Avatar for yorro
-1
496
Member Avatar for yorro

[code] SQL = "UPDATE sampletable SET column1 = 'C1sample1', column2 ='NewValue' WHERE column2 = 'OldValue'" [/code]

Member Avatar for yorro
-1
98
Member Avatar for =OTS=G-Man

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; …

Member Avatar for kvprajapati
-1
98
Member Avatar for kcvenkat87

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]

Member Avatar for kvprajapati
-1
116
Member Avatar for coolheadedguy

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]

Member Avatar for kvprajapati
-1
101
Member Avatar for murid

.NET framework is needed to compile and run VB program. Visual Studio.NET – is integrated development environment (IDE) for coding with .NET framework.

Member Avatar for jbennet
-1
73
Member Avatar for arshad115

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]

Member Avatar for arshad115
0
2K
Member Avatar for itslucky

[code] str="Select count(*) from TableName where Attendance='A'"; str1="Select count(*) from TableName where Attendance='P'"; [/code]

Member Avatar for itslucky
-1
521
Member Avatar for Ulukay
Member Avatar for facadie
Member Avatar for mz_rigel

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]) { . . . …

Member Avatar for kvprajapati
0
105
Member Avatar for lil_Is

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.

Member Avatar for lil_Is
-1
3K
Member Avatar for thacravedawg

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]

Member Avatar for kvprajapati
0
105
Member Avatar for RunTimeError

Here are some suggestions, 1. Erase the line. 2. Get the new coordinate. 3. Draw a new line.

Member Avatar for Diamonddrake
-1
139
Member Avatar for navinkumar

1. Tools + Options + Projects and Solutions + Build and Run. 2. select "Prompt to launch" from On run, when build or depl. errors occurs.

Member Avatar for navinkumar
0
109
Member Avatar for Skwerlz

[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]

Member Avatar for kvprajapati
0
131
Member Avatar for Sushma21

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].

Member Avatar for dkalita
-1
170
Member Avatar for Smalls

Take a look at [URL="http://bytes.com/topic/visual-basic-net/answers/382910-cpu-temperature"]Thread[/URL]

Member Avatar for Smalls
0
2K
Member Avatar for qwertymk

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]

Member Avatar for qwertymk
0
105
Member Avatar for MxDev

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].

Member Avatar for sknake
0
110
Member Avatar for shxrainz

Read sticky thread - [URL="http://www.daniweb.com/forums/thread70096.html"]http://www.daniweb.com/forums/thread70096.html[/URL]

Member Avatar for kvprajapati
0
173
Member Avatar for liadmz

Welcome, Use [b]desc tableName[/b] to list the structure of table and use [b]SELECT * FROM tableName[/b] to list rows.

Member Avatar for liadmz
0
227
Member Avatar for Bemani_lover

Take a look at function [URL="http://www.cplusplus.com/reference/clibrary/cmath/sqrt/"]sqrt[/URL]

Member Avatar for StuXYZ
0
185
Member Avatar for Abdul Gaffar

Take a look at [URL="http://opensmpp.logica.com/introhtml/menu.htm"]smpp[/URL]

Member Avatar for kvprajapati
0
29
Member Avatar for A.Najafi

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

Member Avatar for sknake
0
124
Member Avatar for ejazmusavi

Take a look at [URL="http://msdn.microsoft.com/en-us/library/ms227881(VS.80).aspx"]Tutorials and Sample Code[/URL] of Crystal Report.

Member Avatar for kvprajapati
0
52
Member Avatar for lotrsimp12345

[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 …

Member Avatar for kvprajapati
0
299
Member Avatar for redreed

Take a look at [URL="http://www.cplusplus.com/reference/iostream/fstream/"]fstream[/URL].

Member Avatar for redreed
0
308
Member Avatar for gemgirl1972

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, …

Member Avatar for gemgirl1972
0
123
Member Avatar for RehabReda

Here is a service provider - [URL="http://portforward.com/"]http://portforward.com/[/URL]. You will find some useful details.

Member Avatar for sknake
0
138
Member Avatar for gianrocks

[code] pictureBox1.Image = Image.FromStream(new MemoryStream(ds.Tables(0).Rows(i)(0)) [/code]

Member Avatar for gianrocks
0
144
Member Avatar for facadie

To perform database actions, you must have to learn [URL="http://msdn.microsoft.com/en-us/data/aa937699.aspx"]ADO.NET[/URL] class library.

Member Avatar for sknake
-2
139
Member Avatar for RimBamBoom

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]

Member Avatar for sknake
0
147
Member Avatar for ayesha789

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]

Member Avatar for ayesha789
0
2K
Member Avatar for dkalita

Take a look at [URL="http://support.microsoft.com/kb/196776"]Office Automation Using Visual C++[/URL]

Member Avatar for dkalita
-1
115
Member Avatar for kplcjl
Member Avatar for serkan sendur

[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 …

Member Avatar for serkan sendur
1
369
Member Avatar for danielagaba
Member Avatar for ddanbe

Maybe your code needs, [code] dataGridView1.EditMode = DataGridViewEditMode.EditOnEnter; [/code]

Member Avatar for ddanbe
1
2K
Member Avatar for nateuni

@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.

Member Avatar for nateuni
0
130
Member Avatar for fuggles

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].

Member Avatar for kvprajapati
0
54
Member Avatar for TomB1988

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.

Member Avatar for TomB1988
0
110
Member Avatar for nida afaq

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 …

Member Avatar for kvprajapati
0
140

The End.