I am just starting to use Visual Studio C++. Before I was working with UNIX (years ago). It looks like there are many things that I need to know. I copied a program from CPlusPlus.com and tried to compile it as a CLR console application. This is as far as I got: [CODE] // VectorStringCLR.cpp : main project file. #include "stdafx.h" #include<cstring> #include<fstream> #include<iostream> #include<vector> using namespace System; int main() { vector<string> list; string word; ifstream wordfile("TextFile1.txt"); while (wordfile >> word) { list.push_back(word); } for (unsigned n=0; n<list.size(); ++n) { cout << list.at( n ) << " "; } return …

Member Avatar
Member Avatar
+0 forum 10

So basically, I'm making a Windows Form Application CLR which calculates a worker's wage. Problem is, when I select the schedule (day,night,afternoon,mixed), I use a button for each schedule respectively, which, upon click, calculates everything on the data you've input. While this is effective, I am being asked to use a combo box to demonstrate each schedule, and a single "Calculate" button for this, yet I do not know how to use a combo box correctly, nor how to use the selected option (say, I selected night, and do the respective calculation parameters). I am unable to find a tutorial …

Member Avatar
Member Avatar
+0 forum 3

i wanna use the Sleep fucntion in a CLR vc++ app, if i include windows.h it gives a huge list of errors, if i use _sleep() then it dowsnot work at many systems since its obslete. what should i do? i am bound to use CLR bcoz my code uses items from the namespace System. P.s i am using visual studio 2010

Member Avatar
Member Avatar
+0 forum 4

Hi all, I am having some difficulty in finding how to make a Table Valued Function (TVF) work in C# and T-SQL. I have managed to get a Scalar Valued Function (SVF) working perfectly however I have not been able to find any adequate documentation on how to implement a TVF. I am not a fluent C# developer, so please forgive any ignorance on my part - I have only used C# to fulfil the needs of my current project. Essentially I think I need to learn how to return the data from my C# method correctly, I thought it …

Member Avatar
+0 forum 0

The End.