Hi! I've to print the index of a selected cell in a Table. The table has eight rows and eight columns. The rows are labled from A to H and the cloumns are labled from 1 to 8. If I click the cell in the first row and first column I've to print A1. Similarly If I click the cell in the first row and Second column I've to print B1 My function has to return the index of each and every cell in the table. How to code that function in C++?
pix_programmer
Posts
-
How to get the index of a cell in a Table -
Long pointer to character C++Is it possible in C++ to declare a pointer as long?( like long int). I'm reading some string from a XML file and assigning it to a
const char*
variable. But the application crashes, when string is huge. Is there any maximum limit for char * variable? How to avoid the crash,when the string is huge? -
Merging ArraysHow to merge two arrays? Consider the following two arrays: int a[3] = {2,3,5}; int b[3] = {4,6,8}; These two arrays has to be merged and stored in a third array c. My expected result would be : c[6] = {2,3,5,4,6,8}; How to do this?
-
Fatal Error C1902Deleting mspdb80.dll file didn't work. It seems a virus problem. Will a repair install of VS2005 work?
-
Fatal Error C1902I've deleted not only the mentioned file but also the folders like Debug and Release. But the error remains as such. Can you tell me the error is due to Service Pack or redistributable? I forgot to mention the VS version. VS 2005 on both the machines.
-
Fatal Error C1902Jochen Arndt wrote: delete all files except the source and project files and rebuild. I deleted the Program Database (.pdb) file. By all files you mean what other files?
-
Fatal Error C1902Hi! I got the following erros during compilation. Error 2 error BK1506 : cannot open file '.\Compilations\PlugIn_Debug_Win32\PlugIn.sbr': No such file or directory BSCMAKE Error 1 fatal error C1902: Program database manager mismatch; please check your installation d:\plugin\stdafx.cpp 1 The source is transferred from another machine. When I rebuild the code for the first time(I've not modified the code),it compiles fine. But when I made changes to the code and recompile it shows the above two errors. Both machines have SP1 for VS2005. How to resolve the above two errors?
-
Random NumberHi! I've to select a number radomly from 1 t0 6. What is the C++ code for this?
-
Linker Error :C1900Hi! Installing the SP1 for Visual Studio 2005 fixed this error. Thank you.
-
Linker Error :C1900Hi! Can any one tell me how to solve this error? C1900: Il mismatch between 'P1' version '20060201' and 'P2' version '20050411'
-
Help about Windows Batch file.Hi! I'm calling an exe from a Batch file using CALL statement. The exe is not the same folder with batch file. The exe is inside some other folder. The exe has some dependencies(VC++ DLL's). How to include/call those DLL's also inside the CALL statement so that my exe would run without errors? The code that I use is:
PushD .
Cd ..
Call Gen /AssetManager:Disable /DisplayErrors:off /ReturnErrorsCount:off /Log:Enable /Log:Html /Log:Verbose /Window:Normal /CreateObjectHash /RemoveSources:On /CreateResourceHash /GenerateDisplayLists:On /GenerateSceneLists:Off /GeneratePreDrawOT "france_1222\Test.xml" france_1222\%_SDF_% "iPhone"
PopD"Gen" is my exe name.
-
Data EncapsulationHi! Can any one explain with reference the following code: (1)Where Data is encapsulated (At which line of code does the encapsulation)? (2) Where Data Abstraction is done(At which line of code does the abstraction)?
#include "iostream"
using namespace std;
class Rectangle
{
private:
float width,height,Area;
public:
Rectangle()
{
width = 35.0;
height = 25.0;
}Rectangle(float w, float h) { width = w; height =h; } void GetArea() { Area = width \* height; cout<<"Area of the rectangle is \\t"<
-
C++ Program without main()Richard MacCutchan wrote: using the Linker /ENTRY[^] I checked the project property pages. It's also empty. From where it comes?
-
C++ Program without main()Hi! Is it possible to write a program with out main() function in C++? If yes, Erom where the execution begins for such a program?
-
HTML 5 TutorialHi! I'm new to HTML 5. Where can I find a Tutorial to HTML 5?
-
new and freeThank you Sir :) .
-
new and freeHi! Is it possible to deallocate a memory that was allocated by new using free function? Otherwise what will happen if we deallocate using free function while the memory is allocated using new in C++?
-
ShellExecute in WPFHi! I've to change the state of the application to minimized before opening the URL. I'm using this code.
#if WINDOWS
this.WindowState = WindowState.Minimized;
#endifBut it shows the following error: The name 'WindowState' does not exist in the current context How to minimze the application before opening the URL?
-
ShellExecute in WPFPete O'Hanlon wrote: Process.Start(url); I've used this. It's opening the URL many times. I want only one time. How to do this? What about ShellExecute with WPF?
-
ShellExecute in WPFHi! What is the namespace to include for ShellExecute to compile? I've to open a URL from WPF Emulator. How to do this? I tried
Process.Start()
But it opens many times. ShellExecute() doesn't compile. It gives the following error: The name 'ShellExecute' does not exist in the current context How to open a URL in WPF?