Dynaverse.net
Off Topic => Ten Forward => Topic started by: toasty0 on January 07, 2005, 12:13:45 am
-
If you've been doing what you're supposed to be doing the following will make sense to you...
if (Q_stricmp(cmd, "radar") == 0)
{
// I have removed the comments just to make you think
cl_radarvisible = !cl_radarvisible;
Radar::Console::Display(cl_radarvisible, cl_hwnd);
return;
}
Well? :o
-
Heh, I admit That I haven't been studying much, But It looks like a little bit of Code to update a radar screen on a game.
Just Guessing, But It looks like If cl_radarvisable is positive when Checked, It would update the Display.
Like I said, I haven't had too much time yet to get really involved.
Stephen
-
Congrats, you get a cookie.
-
Wow, I finally got one of these Right. Now to go Tease Dallas, I'm on my way to Becoming a ToastyO like SuperGeek.
Stephen
-
So, how does one learn geek speak?
-
So, how does one learn geek speak?
Start with the light reading (you must read each page though)
http://www.research.att.com/~bs/bs_faq.html
http://blog.voidnish.com/index.php?p=11
http://pluralsight.com/blogs/hsutter/
http://www.aristeia.com/projects_frames.html
and
http://www.asp.net/Default.aspx?tabindex=0&tabid=1
http://msdn.microsoft.com/
http://msdn.microsoft.com/netframework/
and
http://msdn.microsoft.com/vcsharp/
and to keep it spicy...
http://www.hypergurl.com/easyhtml.html
http://www.w3.org/
Oh yeah, I almost forgot...
http://www.microsoft.com/windows/directx/default.aspx
http://developer.nvidia.com/page/home
Ok, sorry for the short list, but I'm pressed for time right now.
Jerry
-
LOL, and Trust me, Read this stuff. When I visited ToastyO he told me He'd post More Information, and he did. Even though I've been Remise, It's always good to know a little Codding. Then again, when someones pouring Crown Royal Down Your Throat like the Best friend he is, It's abit easier to learn new Skills.
;D ;D ;D ;D ;D
Stephen
-
Looks like I have some homework...wheeeeee
-
Looks like I have some homework...wheeeeee
If you're really serious about learning this stuff go here to get the latest beta of the upcoming Visual Studio 2005 beta (http://lab.msdn.microsoft.com/vs2005/Default.aspx) programming tools.
-
I've been reading over it some today. This stuff is a whole new language! But I want to learn it, so this is the best way to do so. Thanks for the links. When I get my new compy (the one that can actually DO something!) I am going to download that and play with it. Looks fun and exciting.
-
Ok, Stephen...
1.) Which language is this? (C#, C++, or VB.NET)
2.) What are we trying to accomplish?
public void ConnectToSql ()
{
System.Data.SqlClient.SqlConnection conn =
new System.Data.SqlClient.SqlConnection ();
// TODO: Modify the connection string and include any
// additional required properties for your database.
conn.ConnectionString =
"integrated security=SSPI;data source=SQL Server Name;" +
"persist security info=False;initial catalog=northwind";
try
{
conn.Open();
// Insert code to process data.
}
catch (Exception ex)
{
MessageBox.Show("Failed to connect to data source");
}
finally
{
conn.Close();
}
}
-
Ok, Stephen...
1.) Which language is this? (C#, C++, or VB.NET)
2.) What are we trying to accomplish?
public void ConnectToSql ()
{
System.Data.SqlClient.SqlConnection conn =
new System.Data.SqlClient.SqlConnection ();
// TODO: Modify the connection string and include any
// additional required properties for your database.
conn.ConnectionString =
"integrated security=SSPI;data source=SQL Server Name;" +
"persist security info=False;initial catalog=northwind";
try
{
conn.Open();
// Insert code to process data.
}
catch (Exception ex)
{
MessageBox.Show("Failed to connect to data source");
}
finally
{
conn.Close();
}
}
Well, I don't hink It's VB.net, then again, the only VB code I've seen is From VB6.0 .
My guess would be C++ since IT looks to be using alot of Sql commands.
Stephen
-
Ok, Stephen...
1.) Which language is this? (C#, C++, or VB.NET)
2.) What are we trying to accomplish?
public void ConnectToSql ()
{
System.Data.SqlClient.SqlConnection conn =
new System.Data.SqlClient.SqlConnection ();
// TODO: Modify the connection string and include any
// additional required properties for your database.
conn.ConnectionString =
"integrated security=SSPI;data source=SQL Server Name;" +
"persist security info=False;initial catalog=northwind";
try
{
conn.Open();
// Insert code to process data.
}
catch (Exception ex)
{
MessageBox.Show("Failed to connect to data source");
}
finally
{
conn.Close();
}
}
Well, I don't hink It's VB.net, then again, the only VB code I've seen is From VB6.0 .
My guess would be C++ since IT looks to be using alot of Sql commands.
Stephen
Good guess, but it is actually C# thought ther syntax is very simular.
Now, what are we doing wth this code snippet?