Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~837 People Reached
Favorite Forums
Favorite Tags
c++ x 4

3 Posted Topics

Member Avatar for Srynx

[code=C++] #include<stdio.h> #include<stdlib.h> #include<conio.h> #include<iostream.h> int opcio1(); int opcio2(); int opcio3(); int main() { char sel; for (;;) { cout <<"Sudoku\n\n\n"<<endl; cout <<"1. How to\n\n"<<endl; cout <<"2. Sudoku generator\n\n"<<endl; cout <<"3. Play!\n\n"<<endl; cout <<"4. Exit\n\n"<<endl; cout <<"Select an option, please..."<<endl; cin >> sel; if (sel<'1' || sel>'4')&&sel!=27); //esc=ASCII 27 { …

Member Avatar for CPLUSCPLUS
0
672
Member Avatar for That Asian Guy

I used the following code to perform this operation in VS 2005: [code=C++] if (listView1->SelectedItems->Count > 0) { listView1->Items->RemoveAt (listView1->SelectedIndices [0]); numericUpDown1->Value -= 1; } [/code] However, I need a program to compile in VS 2003 in order for it to run on a school computer. Therefore, I inputted the …

Member Avatar for qszwdxefc
0
65
Member Avatar for That Asian Guy

I was trying to delete the currently selected listview item using MFC methods, but obviously they werent compatible How can I accomplish this in VS 2005 (standard .NET windows forms NOT MFC? I have tried [code=C++] void CMyListView::DeleteSelectedRow() { int nIndex = GetListCtrl().GetSelectionMark(); if(nIndex != -1) { GetListCtrl().DeleteItem(nIndex); } } …

Member Avatar for That Asian Guy
0
100

The End.