0

I've been a member since February and this is the first thread I have created -- now I finally get to see where that solve button is!

Anyway on a more serious -- who maintains the code templates for daniweb's programming forums? I post a lot in the C# and MSSQL forums and a lot of the words aren't colored with syntax highlighting. Can daniweb open up those templates to allow contributions to them (obviously moderator approved or what have you) with either source control or a new forum mechanism?

2
Contributors
2
Replies
4
Views
8 Years
Discussion Span
Last Post by sknake
0

You mean like this: Color coding requires the language option in to code tags

#include <iostream>
int main()
{
   std::cout << "Hello World\n";
}
0

You mean like this:

#include <iostream>
int main()
{
   std::cout << "Hello World\n";
}

Yes, like that. Or:

Declare @Tab Table
(
  PK int identity(1000, 1) PRIMARY KEY NONCLUSTERED,
  string varchar(20)
)

Declare @pk int
Insert Into @Tab (string) Values ('hello, daniweb.')
Set @pk = Cast(SCOPE_IDENTITY() as int)

Select @PK
Attachments colors.png 16.58 KB
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.